Module: wine Branch: master Commit: a45da55922388dbe04e90b8eb3b9978266a9911b URL: http://source.winehq.org/git/wine.git/?a=commit;h=a45da55922388dbe04e90b8eb3... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Mon Oct 22 17:50:15 2012 +0900 gdiplus: Fix a typo leading to incorrect character width calculation in GdipMeasureDriverString. --- dlls/gdiplus/graphics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index d975d3c..b2ebf40 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -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;