user32: Only select needed part of the flags.

This commit is contained in:
André Hentschel 2010-09-16 19:59:22 +02:00 committed by Alexandre Julliard
parent 21c3e4836a
commit 49434929c6
1 changed files with 1 additions and 1 deletions

View File

@ -939,7 +939,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
UITOOLS95_DFC_ButtonPush(dc, r, uFlags & 0xff00); UITOOLS95_DFC_ButtonPush(dc, r, uFlags & 0xff00);
switch(uFlags & 0xff) switch(uFlags & 0xf)
{ {
case DFCS_CAPTIONCLOSE: str[0] = 0x72; break; case DFCS_CAPTIONCLOSE: str[0] = 0x72; break;
case DFCS_CAPTIONHELP: str[0] = 0x73; break; case DFCS_CAPTIONHELP: str[0] = 0x73; break;