mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 01:52:06 +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 +
|
if (flags & DT_VCENTER) y = rect->top +
|
||||||
(rect->bottom - rect->top + (invert_y ? size.cy : -size.cy)) / 2;
|
(rect->bottom - rect->top + (invert_y ? size.cy : -size.cy)) / 2;
|
||||||
else if (flags & DT_BOTTOM)
|
else if (flags & DT_BOTTOM)
|
||||||
y = rect->bottom + (invert_y ? 0 : -size.cy);
|
y = rect->bottom + (invert_y ? size.cy : -size.cy);
|
||||||
#else
|
#else
|
||||||
if (flags & DT_VCENTER) y = rect->top +
|
if (flags & DT_VCENTER) y = rect->top +
|
||||||
(rect->bottom - rect->top) / 2 - size.cy / 2;
|
(rect->bottom - rect->top) / 2 - size.cy / 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue