diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-05-11 21:46:19 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-05-20 01:27:00 +0200 |
commit | 01db94c2dd457d7632d8523e187f6bd4ea947fcd (patch) | |
tree | 1b474a48970386526353c4cff23e261e3b7bb8d7 /nx-X11/programs/Xserver | |
parent | 9f4119a6e032d2b86becf48def2de1d6a4c60565 (diff) | |
download | nx-libs-01db94c2dd457d7632d8523e187f6bd4ea947fcd.tar.gz nx-libs-01db94c2dd457d7632d8523e187f6bd4ea947fcd.tar.bz2 nx-libs-01db94c2dd457d7632d8523e187f6bd4ea947fcd.zip |
fb/fbbltone.c: fix shadowed variable
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/fb/fbbltone.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/fb/fbbltone.c b/nx-X11/programs/Xserver/fb/fbbltone.c index 72a1db766..e4bbe679c 100644 --- a/nx-X11/programs/Xserver/fb/fbbltone.c +++ b/nx-X11/programs/Xserver/fb/fbbltone.c @@ -804,12 +804,12 @@ fbBltPlane (FbBits *src, #ifdef FB_24BIT if (srcBpp == 24) { - int w = 24; + int tmpw = 24; rot0 = FbFirst24Rot (srcX); - if (srcX + w > FB_UNIT) - w = FB_UNIT - srcX; - srcMaskFirst = FbRot24(pm,rot0) & FbBitsMask(srcX,w); + if (srcX + tmpw > FB_UNIT) + tmpw = FB_UNIT - srcX; + srcMaskFirst = FbRot24(pm,rot0) & FbBitsMask(srcX,tmpw); } else #endif |