This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
toilet
mirror of
https://github.com/cacalabs/toilet.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
* Do not try to autocrop a canvas that has only spaces.
pull/1/head
Sam Hocevar
sam
18 years ago
parent
808a270565
commit
e80a522fcc
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/filters.c
+ 3
- 0
src/filters.c
View File
@@ -51,6 +51,9 @@ void filter_autocrop(cucul_canvas_t *cv)
}
}
if(xmax < xmin || ymax < ymin)
return;
cucul_set_canvas_boundaries(cv, xmin, ymin,
xmax - xmin + 1, ymax - ymin + 1);
}
Write
Preview
Loading…
Cancel
Save