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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Jun 9 11:37:34 EEST 2009
Author: pvanhoof
Date: 2009-06-09 11:37:33 +0300 (Tue, 09 Jun 2009)
New Revision: 18672

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c
Log:
glitch

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c	2009-06-09 08:33:23 UTC (rev 18671)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c	2009-06-09 08:37:33 UTC (rev 18672)
@@ -424,12 +424,12 @@
 		// Only cropped will work with this currently ugly looking, 
 		// often changed exception code
 
-		if (ow < 124 || oh < 124) {
+		if (ow <= 124 || oh <= 124) {
 
 			/* Epeg doesn't behave as expected when the destination is larger
 			 * than the source */
 
-			if (ow < 124 && oh < 124) {
+			if (ow <= 124 && oh <= 124) {
 				// If both are smaller, no cropping (crop_resize
 				// will take care of this one)
 


More information about the maemo-commits mailing list