mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[WIN32K]
- Plug an icon leak. svn path=/trunk/; revision=57640
This commit is contained in:
parent
a769501f01
commit
2108e7256c
|
@ -2003,6 +2003,7 @@ BOOL UserDrawCaption(
|
|||
LONG x = Rect.left - cx/2 + 1 + (Rect.bottom - Rect.top)/2; // this is really what Window does
|
||||
LONG y = (Rect.top + Rect.bottom)/2 - cy/2; // center
|
||||
UserDrawIconEx(hDc, x, y, pIcon, cx, cy, 0, NULL, DI_NORMAL);
|
||||
UserDereferenceObject(pIcon);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue