Ignore:
Timestamp:
Apr 25, 2006, 5:22:53 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Ahahaha. Meet the "optimisation" that breaks everything.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/import.c

    r876 r877  
    180180        if(x >= width || y >= height)
    181181        {
    182             width = x + 1;
    183             height = y + 1;
     182            if(x >= width)
     183                width = x + 1;
     184
     185            if(y >= height)
     186                height = y + 1;
     187
    184188            cucul_set_canvas_size(cv, width, height);
    185189        }
Note: See TracChangeset for help on using the changeset viewer.