usp10: Use GetCharABCWidthsI to implement ScriptGetGlyphABCWidth.

This commit is contained in:
Hans Leidekker 2007-12-09 21:39:02 +01:00 committed by Alexandre Julliard
parent 766d8a17af
commit 143f2421b6
1 changed files with 1 additions and 1 deletions

View File

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