fixed shift direction.

2008-08-28  Sven Neumann  <sven@gimp.org>

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


svn path=/trunk/; revision=26797
This commit is contained in:
Sven Neumann 2008-08-28 08:46:08 +00:00 committed by Sven Neumann
parent 808ddd311b
commit c9c3329441
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-08-28 Sven Neumann <sven@gimp.org>
* app/paint-funcs/scale-region.c (scale_determine_progress):
(scale_region_tile): fixed shift direction.
2008-08-27 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpuimanager.c (gimp_ui_manager_item_key_press):

View File

@ -292,7 +292,7 @@ scale_determine_progress (PixelRegion *srcPR,
while (levelx > 0)
{
width <<= 1;
width >>= 1;
levelx--;
tiles += NUM_TILES (width, height);
@ -300,7 +300,7 @@ scale_determine_progress (PixelRegion *srcPR,
while (levely > 0)
{
height <<= 1;
height >>= 1;
levely--;
tiles += NUM_TILES (width, height);
@ -405,7 +405,7 @@ scale_region_tile (PixelRegion *srcPR,
while (levelx > 0)
{
width <<= 1;
width >>= 1;
tmpTM = tile_manager_new (width, height, bytes);
scale (srcTM, tmpTM, interpolation,
@ -420,7 +420,7 @@ scale_region_tile (PixelRegion *srcPR,
while (levely > 0)
{
height <<= 1;
height >>= 1;
tmpTM = tile_manager_new (width, height, bytes);
scale (srcTM, tmpTM, interpolation,