Commit 49434929 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

user32: Only select needed part of the flags.

parent 21c3e483
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment