Ignore:
Timestamp:
Nov 2, 2008, 10:57:21 PM (11 years ago)
Author:
bsittler
Message:

optimization: when the canvas is only a single line, we can always
optimize by merging cells

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/codec/export.c

    r3223 r3224  
    527527             * (see below) */
    528528            len = 1;
    529             while((y || ! has_multi_cell_row)
     529            while((y || (! has_multi_cell_row) || (cv->height == 1))
    530530                  &&
    531531                  (x + len < cv->width)
Note: See TracChangeset for help on using the changeset viewer.