xfree86: fix xf86ScaleAxis once again.
Maybe one day I stop doing stupid patches like
a3a7c12fcf
.
So, if X < low, reset to low, and _not_ to high.
If X > high, reset to high, and _not_ to low.
This commit is contained in:
parent
f12d7ad164
commit
4ce19b4477
|
@ -935,9 +935,9 @@ xf86ScaleAxis(int Cx,
|
|||
}
|
||||
|
||||
if (X > Sxhigh)
|
||||
X = Sxlow;
|
||||
if (X < Sxlow)
|
||||
X = Sxhigh;
|
||||
if (X < Sxlow)
|
||||
X = Sxlow;
|
||||
|
||||
return (X);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user