Commit 849fa641 authored by Larry Ewing's avatar Larry Ewing Committed by Larry Ewing

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.
parent a766a5b4
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment