diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-05-11 21:55:21 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-05-20 01:27:00 +0200 |
commit | 30eab489d57c63f1f315632644958838965e35a3 (patch) | |
tree | 2b8192968c0ce8165286ad04f51cc9e96a94494b | |
parent | 7262bab6d624ca569b9dfecf1f473db78af10658 (diff) | |
download | nx-libs-30eab489d57c63f1f315632644958838965e35a3.tar.gz nx-libs-30eab489d57c63f1f315632644958838965e35a3.tar.bz2 nx-libs-30eab489d57c63f1f315632644958838965e35a3.zip |
fbedgeimp.h: fix shadowed variable
-rw-r--r-- | nx-X11/programs/Xserver/fb/fbedgeimp.h | 3 |
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--) |