Mercurial > pidgin.yaz
changeset 30182:9e9c20b705d3
Allow icons to be exactly the max file size
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 21 Apr 2010 08:07:46 +0000 |
parents | 1a4362fca50e |
children | fb270a3d0732 |
files | pidgin/gtkutils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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. */