mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
parent
711f631849
commit
97ccef7761
1 changed files with 1 additions and 1 deletions
|
@ -1266,7 +1266,7 @@ INT WINAPI DrawTextExWorker( HDC hdc,
|
|||
if (flags & DT_VCENTER) y = rect->top +
|
||||
(rect->bottom - rect->top + (invert_y ? size.cy : -size.cy)) / 2;
|
||||
else if (flags & DT_BOTTOM)
|
||||
y = rect->bottom + (invert_y ? 0 : -size.cy);
|
||||
y = rect->bottom + (invert_y ? size.cy : -size.cy);
|
||||
#else
|
||||
if (flags & DT_VCENTER) y = rect->top +
|
||||
(rect->bottom - rect->top) / 2 - size.cy / 2;
|
||||
|
|
Loading…
Reference in a new issue