- Use the number of WCHARs, not the number of ANSI chars in GetCharABCWidthsA. Fixes stack corruption when running gdi32_winetest:font
CORE-11474

svn path=/trunk/; revision=74372
This commit is contained in:
Thomas Faber 2017-04-19 10:33:58 +00:00
parent ae3886b65f
commit 77ec221feb

View file

@ -830,7 +830,7 @@ GetCharABCWidthsA(
ret = NtGdiGetCharABCWidthsW( hdc,
wstr[0],
(ULONG)count,
wlen - 1,
(PWCHAR)wstr,
GCABCW_NOFLOAT,
(PVOID)lpabc);