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

This commit is contained in:
Dmitry Timoshkov 2012-10-22 17:50:15 +09:00 committed by Alexandre Julliard
parent d488081214
commit a45da55922
1 changed files with 1 additions and 1 deletions

View File

@ -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;