projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WIN32K]
[reactos.git]
/
reactos
/
win32ss
/
user
/
ntuser
/
painting.c
diff --git
a/reactos/win32ss/user/ntuser/painting.c
b/reactos/win32ss/user/ntuser/painting.c
index
c6335fb
..
3b1d693
100644
(file)
--- a/
reactos/win32ss/user/ntuser/painting.c
+++ b/
reactos/win32ss/user/ntuser/painting.c
@@
-2143,9
+2143,13
@@
BOOL UserDrawCaption(
UserDrawIconEx(hDc, x, y, pIcon, cx, cy, 0, NULL, DI_NORMAL);
UserDereferenceObject(pIcon);
}
UserDrawIconEx(hDc, x, y, pIcon, cx, cy, 0, NULL, DI_NORMAL);
UserDereferenceObject(pIcon);
}
+ else
+ {
+ HasIcon = FALSE;
+ }
}
}
- if (
h
Icon)
+ if (
Has
Icon)
Rect.left += Rect.bottom - Rect.top;
if((uFlags & DC_TEXT))
Rect.left += Rect.bottom - Rect.top;
if((uFlags & DC_TEXT))