# HG changeset patch # User Mark Doliner # Date 1271837266 0 # Node ID 9e9c20b705d3acb215fbe1a39b8e6c1aaacf3c4a # Parent 1a4362fca50e07ed961b4a35ac17643e7ff79b39 Allow icons to be exactly the max file size diff -r 1a4362fca50e -r 9e9c20b705d3 pidgin/gtkutils.c --- a/pidgin/gtkutils.c Wed Apr 21 04:42:32 2010 +0000 +++ b/pidgin/gtkutils.c Wed Apr 21 08:07:46 2010 +0000 @@ -2469,7 +2469,7 @@ break; } - if (spec->max_filesize == 0 || length < spec->max_filesize) { + if (spec->max_filesize == 0 || length <= spec->max_filesize) { /* We were able to save the image as this image type and have it be within the size constraints. Great! Return the image. */