Commit a45da559 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdiplus: Fix a typo leading to incorrect character width calculation in GdipMeasureDriverString.

parent d4880812
......@@ -6345,7 +6345,7 @@ GpStatus WINGDIPAPI GdipMeasureDriverString(GpGraphics *graphics, GDIPCONST UINT
}
GetCharABCWidthsW(hdc, glyph_indices[i], glyph_indices[i], &abc);
char_width = abc.abcA + abc.abcB + abc.abcB;
char_width = abc.abcA + abc.abcB + abc.abcC;
if (min_y > y - ascent) min_y = y - ascent;
if (max_y < y + descent) max_y = y + descent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment