mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[WIN32K]
- Fix a typo. Spotted by Giannis Adamopoulos svn path=/trunk/; revision=53032
This commit is contained in:
parent
b81d61b5e8
commit
657d4463e4
|
@ -1759,7 +1759,7 @@ BOOL UserDrawCaption(
|
|||
{
|
||||
LONG cx = UserGetSystemMetrics(SM_CXSMICON);
|
||||
LONG cy = UserGetSystemMetrics(SM_CYSMICON);
|
||||
LONG x = Rect.left - cx/2 + 1 + (Rect.bottom - Rect.left)/2;
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue