diff --git a/uppsrc/Draw/FontWin32.cpp b/uppsrc/Draw/FontWin32.cpp index 0abc91f35..2077c5a32 100644 --- a/uppsrc/Draw/FontWin32.cpp +++ b/uppsrc/Draw/FontWin32.cpp @@ -281,7 +281,7 @@ GlyphInfo GetGlyphInfoSys(Font font, int chr) else { bool abca = false, abcw = false; Buffer abc(256); - abcw = ::GetCharABCWidths(hdc, from, from + 256 - 1, abc); + abcw = ::GetCharABCWidthsW(hdc, from, from + 256 - 1, abc); #ifndef PLATFORM_WINCE if(!abcw) abca = ::GetCharABCWidthsA(hdc, from, from + 256 - 1, abc);