From 38a87ecfeac35b30783668feb5ec35458ed70dc7 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 9 Mar 2011 01:08:24 -0800 Subject: [PATCH] user32: Avoid shadowing a parameter. --- dlls/user32/desktop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/user32/desktop.c b/dlls/user32/desktop.c index 63132922c83..92ee21ac533 100644 --- a/dlls/user32/desktop.c +++ b/dlls/user32/desktop.c @@ -228,12 +228,12 @@ BOOL DESKTOP_SetPattern( LPCWSTR pattern ) &pat[0], &pat[1], &pat[2], &pat[3], &pat[4], &pat[5], &pat[6], &pat[7] )) { - WORD pattern[8]; + WORD ptrn[8]; HBITMAP hbitmap; int i; - for (i = 0; i < 8; i++) pattern[i] = pat[i] & 0xffff; - hbitmap = CreateBitmap( 8, 8, 1, 1, pattern ); + for (i = 0; i < 8; i++) ptrn[i] = pat[i] & 0xffff; + hbitmap = CreateBitmap( 8, 8, 1, 1, ptrn ); hbrushPattern = CreatePatternBrush( hbitmap ); DeleteObject( hbitmap ); }