mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32K]
- Fix a typo. Spotted by Giannis Adamopoulos svn path=/trunk/; revision=53032
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user