aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/fb
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/fb')
-rw-r--r--nx-X11/programs/Xserver/fb/fbedgeimp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/fb/fbedgeimp.h b/nx-X11/programs/Xserver/fb/fbedgeimp.h
index 6b363d7ce..59f7eed22 100644
--- a/nx-X11/programs/Xserver/fb/fbedgeimp.h
+++ b/nx-X11/programs/Xserver/fb/fbedgeimp.h
@@ -69,13 +69,12 @@ rasterizeEdges (FbBits *buf,
FbBits *a = line;
FbBits startmask, endmask;
int nmiddle;
- int width = rxi - lxi;
int x = lxi;
a += x >> FB_SHIFT;
x &= FB_MASK;
- FbMaskBits (x, width, startmask, nmiddle, endmask);
+ FbMaskBits (x, rxi - lxi, startmask, nmiddle, endmask);
if (startmask)
*a++ |= startmask;
while (nmiddle--)