Wed, 21 Apr 2010 08:07:46 +0000
Allow icons to be exactly the max file size
| pidgin/gtkutils.c | file | annotate | diff | comparison | revisions |
--- 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. */