pidgin: efd35d01: Allow icons to be exactly the max file s...

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Apr 21 04:12:06 EDT 2010


-----------------------------------------------------------------
Revision: efd35d0145f89a6c0750c7cf9e30fb778f04ddf1
Ancestor: 969e59be9427372379d3058f5560281abb9beea7
Author: markdoliner at pidgin.im
Date: 2010-04-21T08:07:46
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/efd35d0145f89a6c0750c7cf9e30fb778f04ddf1

Modified files:
        pidgin/gtkutils.c

ChangeLog: 

Allow icons to be exactly the max file size

-------------- next part --------------
============================================================
--- pidgin/gtkutils.c	c660e835dcf547e5580da7824933b3d2975b501e
+++ pidgin/gtkutils.c	b6dcc467269dfd69571545b6c2e9ae87cc134608
@@ -2469,7 +2469,7 @@ pidgin_convert_buddy_icon(PurplePlugin *
 					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. */


More information about the Commits mailing list