gimp r26797 - in trunk: . app/paint-funcs



Author: neo
Date: Thu Aug 28 08:46:08 2008
New Revision: 26797
URL: http://svn.gnome.org/viewvc/gimp?rev=26797&view=rev

Log:
2008-08-28  Sven Neumann  <sven gimp org>

	* app/paint-funcs/scale-region.c (scale_determine_progress):
	(scale_region_tile): fixed shift direction.



Modified:
   trunk/ChangeLog
   trunk/app/paint-funcs/scale-region.c

Modified: trunk/app/paint-funcs/scale-region.c
==============================================================================
--- trunk/app/paint-funcs/scale-region.c	(original)
+++ trunk/app/paint-funcs/scale-region.c	Thu Aug 28 08:46:08 2008
@@ -292,7 +292,7 @@
 
   while (levelx > 0)
     {
-      width <<= 1;
+      width >>= 1;
       levelx--;
 
       tiles += NUM_TILES (width, height);
@@ -300,7 +300,7 @@
 
   while (levely > 0)
     {
-      height <<= 1;
+      height >>= 1;
       levely--;
 
       tiles += NUM_TILES (width, height);
@@ -405,7 +405,7 @@
 
   while (levelx > 0)
     {
-      width <<= 1;
+      width >>= 1;
 
       tmpTM = tile_manager_new (width, height, bytes);
       scale (srcTM, tmpTM, interpolation,
@@ -420,7 +420,7 @@
 
   while (levely > 0)
     {
-      height <<= 1;
+      height >>= 1;
 
       tmpTM = tile_manager_new (width, height, bytes);
       scale (srcTM, tmpTM, interpolation,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]