# HG changeset patch # User Mark Doliner # Date 1103906733 0 # Node ID 960b6a41d02f4e51576afb46bbd25aa2f2bfc535 # Parent ecf4f88430cc6c5e6021301cd221dc9a140f9d99 [gaim-migrate @ 11662] Graham Cole pointed out that these should not have equalses. committer: Tailor Script diff -r ecf4f88430cc -r 960b6a41d02f src/gtkaccount.c --- 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);