changeset 10413:960b6a41d02f

[gaim-migrate @ 11662] Graham Cole pointed out that these should not have equalses. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 24 Dec 2004 16:45:33 +0000
parents ecf4f88430cc
children 26eac2362c32
files src/gtkaccount.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Fri Dec 24 14:45:30 2004 +0000
+++ b/src/gtkaccount.c	Fri Dec 24 16:45:33 2004 +0000
@@ -547,10 +547,10 @@
 		char *filename = g_build_filename(dirname, random, NULL);
 		pixbuf = gdk_pixbuf_new_from_file(path, &error);
 		if (!error && (prpl_info->icon_spec.scale_rules & GAIM_ICON_SCALE_SEND) &&
-			(width <= prpl_info->icon_spec.min_width ||
-			 width >= prpl_info->icon_spec.max_width ||
-			 height <= prpl_info->icon_spec.min_height ||
-			 height >= prpl_info->icon_spec.max_height))
+			(width < prpl_info->icon_spec.min_width ||
+			 width > prpl_info->icon_spec.max_width ||
+			 height < prpl_info->icon_spec.min_height ||
+			 height > prpl_info->icon_spec.max_height))
 		{
 			int new_width = gdk_pixbuf_get_width(pixbuf);
 			int new_height = gdk_pixbuf_get_height(pixbuf);