From 49434929c67b8c8d5c5437ef798425d5c527d730 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Hentschel?= Date: Thu, 16 Sep 2010 19:59:22 +0200 Subject: [PATCH] user32: Only select needed part of the flags. --- dlls/user32/uitools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/uitools.c b/dlls/user32/uitools.c index 2b631185023..e11c411e73f 100644 --- a/dlls/user32/uitools.c +++ b/dlls/user32/uitools.c @@ -939,7 +939,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags) UITOOLS95_DFC_ButtonPush(dc, r, uFlags & 0xff00); - switch(uFlags & 0xff) + switch(uFlags & 0xf) { case DFCS_CAPTIONCLOSE: str[0] = 0x72; break; case DFCS_CAPTIONHELP: str[0] = 0x73; break; -- 2.11.4.GIT