Hans Leidekker : usp10: Use GetCharABCWidthsI to implement ScriptGetGlyphABCWidth.
Module: wine Branch: master Commit: 143f2421b67767847bca3c1cd8f9cd2d7e640407 URL: http://source.winehq.org/git/wine.git/?a=commit;h=143f2421b67767847bca3c1cd8... Author: Hans Leidekker <hans(a)it.vu.nl> Date: Sun Dec 9 21:39:02 2007 +0100 usp10: Use GetCharABCWidthsI to implement ScriptGetGlyphABCWidth. --- dlls/usp10/usp10.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 576b056..a7bbf16 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -1474,7 +1474,7 @@ HRESULT WINAPI ScriptGetGlyphABCWidth(HDC hdc, SCRIPT_CACHE *psc, WORD glyph, AB if ((hr = get_script_cache(hdc, psc))) return hr; /* FIXME: get this from the cache */ - if (!GetCharABCWidthsW(get_cache_hdc(psc), glyph, glyph, abc)) return E_HANDLE; + if (!GetCharABCWidthsI(get_cache_hdc(psc), 0, 1, &glyph, abc)) return E_HANDLE; return S_OK; }
participants (1)
-
Alexandre Julliard