mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 00:30:07 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue