mirror of https://github.com/GNOME/gimp.git
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:
parent
a766a5b481
commit
849fa641e7
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue