X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fwebcollage-helper-cocoa.m;h=11e3dcf474fe994a56228716c579482301c006d1;hp=05f95c4e2002f66b7253019e64cb1123d680e724;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=488f2fa8fbdbc77e91a70da2962d73af49e6cace diff --git a/hacks/webcollage-helper-cocoa.m b/hacks/webcollage-helper-cocoa.m index 05f95c4e..11e3dcf4 100644 --- a/hacks/webcollage-helper-cocoa.m +++ b/hacks/webcollage-helper-cocoa.m @@ -1,5 +1,5 @@ /* webcollage-helper-cocoa --- scales and pastes one image into another - * xscreensaver, Copyright (c) 2002-2006 Jamie Zawinski + * xscreensaver, Copyright (c) 2002-2008 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -240,7 +240,7 @@ paste (const char *paste_file, progname, paste_file, paste_w, paste_h); } - if (bevel_pct > 0) + if (bevel_pct > 0 && paste_w > 5 && paste_h > 5) bevel_image (paste_img, bevel_pct, from_x, from_y, w, h, from_scale);