Fixed a long standing bug in the scale factor computation so that the

Tue Mar  3 01:02:30 1998  Larry Ewing  <lewing@discord.isc.tamu.edu>

	* app/scale.c: Fixed a long standing bug in the scale factor
	computation so that the scale labels all agree.
This commit is contained in:
Larry Ewing 1998-03-03 07:09:05 +00:00 committed by Larry Ewing
parent a766a5b481
commit 849fa641e7
4 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Tue Mar 3 01:02:30 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
* app/scale.c: Fixed a long standing bug in the scale factor
computation so that the scale labels all agree.
Sun Mar 1 18:45:09 PST 1998 Manish Singh <yosh@gimp.org>
* Made 0.99.19 release

View File

@ -121,12 +121,12 @@ change_scale (GDisplay *gdisp,
break;
default :
scalesrc = dir/100;
scalesrc = dir%100;
if (scalesrc < 1)
scalesrc = 1;
else if (scalesrc > 0x10)
scalesrc = 0x10;
scaledest = dir%100;
scaledest = dir/100;
if (scaledest < 1)
scaledest = 1;
else if (scaledest > 0x10)

View File

@ -121,12 +121,12 @@ change_scale (GDisplay *gdisp,
break;
default :
scalesrc = dir/100;
scalesrc = dir%100;
if (scalesrc < 1)
scalesrc = 1;
else if (scalesrc > 0x10)
scalesrc = 0x10;
scaledest = dir%100;
scaledest = dir/100;
if (scaledest < 1)
scaledest = 1;
else if (scaledest > 0x10)

View File

@ -121,12 +121,12 @@ change_scale (GDisplay *gdisp,
break;
default :
scalesrc = dir/100;
scalesrc = dir%100;
if (scalesrc < 1)
scalesrc = 1;
else if (scalesrc > 0x10)
scalesrc = 0x10;
scaledest = dir%100;
scaledest = dir/100;
if (scaledest < 1)
scaledest = 1;
else if (scaledest > 0x10)