Changeset 1109 for toilet/trunk


Ignore:
Timestamp:
Sep 26, 2006, 11:39:07 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Do not try to autocrop a canvas that has only spaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/filters.c

    r1102 r1109  
    5151        }
    5252    }
     53
     54    if(xmax < xmin || ymax < ymin)
     55        return;
    5356
    5457    cucul_set_canvas_boundaries(cv, xmin, ymin,
Note: See TracChangeset for help on using the changeset viewer.