From 143f2421b67767847bca3c1cd8f9cd2d7e640407 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Sun, 9 Dec 2007 21:39:02 +0100 Subject: [PATCH] usp10: Use GetCharABCWidthsI to implement ScriptGetGlyphABCWidth. --- dlls/usp10/usp10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 576b05654ee..a7bbf1670c3 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; }