[maemo-commits] [maemo-commits] r18713 - projects/haf/trunk/hildon-thumbnail/daemon/plugins

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Jun 12 17:13:28 EEST 2009
Author: pvanhoof
Date: 2009-06-12 17:13:26 +0300 (Fri, 12 Jun 2009)
New Revision: 18713

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c
Log:
Last pixel boundary

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c	2009-06-12 14:11:05 UTC (rev 18712)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c	2009-06-12 14:13:26 UTC (rev 18713)
@@ -432,7 +432,7 @@
 			 * the dimension which is greater than 124 to the size
 			 * 124. */
 
-			if (ow <= 124 && oh <= 124) {
+			if (ow < 124 && oh < 124) {
 				pixbuf_large1 = gdk_pixbuf_new_from_file (path, 
 									  &nerror);
 			} else {

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c	2009-06-12 14:11:05 UTC (rev 18712)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c	2009-06-12 14:13:26 UTC (rev 18713)
@@ -334,7 +334,7 @@
 
 			/* Changed in NB#118963 comment #38 */
 
-			if (a <= 124 || b <= 124) {
+			if (a < 124 || b < 124) {
 				int a_wanted, b_wanted;
 
 

More information about the maemo-commits mailing list