- addendum to revision 64877 which slightly changed UserDrawCaption's logic
- fixes window title being drawn over the icon

svn path=/trunk/; revision=65087
This commit is contained in:
Kamil Hornicek 2014-10-28 21:38:26 +00:00
parent 6417d36a41
commit b71df11be9

View file

@ -2143,9 +2143,13 @@ BOOL UserDrawCaption(
UserDrawIconEx(hDc, x, y, pIcon, cx, cy, 0, NULL, DI_NORMAL);
UserDereferenceObject(pIcon);
}
else
{
HasIcon = FALSE;
}
}
if (hIcon)
if (HasIcon)
Rect.left += Rect.bottom - Rect.top;
if((uFlags & DC_TEXT))