Pārlūkot izejas kodu

optimization: when the canvas is only a single line, we can always

optimize by merging cells
tags/v0.99.beta17
Ben Wiley Sittler bsittler pirms 16 gadiem
vecāks
revīzija
f4b036ef09
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      caca/codec/export.c

+ 1
- 1
caca/codec/export.c Parādīt failu

@@ -526,7 +526,7 @@ static void *export_html3(caca_canvas_t const *cv, size_t *bytes)
/* Use colspan option to factor cells with same attributes
* (see below) */
len = 1;
while((y || ! has_multi_cell_row)
while((y || (! has_multi_cell_row) || (cv->height == 1))
&&
(x + len < cv->width)
&&


Notiek ielāde…
Atcelt
Saglabāt