From 01db94c2dd457d7632d8523e187f6bd4ea947fcd Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sat, 11 May 2024 21:46:19 +0200 Subject: fb/fbbltone.c: fix shadowed variable --- nx-X11/programs/Xserver/fb/fbbltone.c | 8 ++++---- 1 file 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 -- cgit v1.2.3