mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[GDI32]
- 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:
parent
ae3886b65f
commit
77ec221feb
|
@ -830,7 +830,7 @@ GetCharABCWidthsA(
|
||||||
|
|
||||||
ret = NtGdiGetCharABCWidthsW( hdc,
|
ret = NtGdiGetCharABCWidthsW( hdc,
|
||||||
wstr[0],
|
wstr[0],
|
||||||
(ULONG)count,
|
wlen - 1,
|
||||||
(PWCHAR)wstr,
|
(PWCHAR)wstr,
|
||||||
GCABCW_NOFLOAT,
|
GCABCW_NOFLOAT,
|
||||||
(PVOID)lpabc);
|
(PVOID)lpabc);
|
||||||
|
|
Loading…
Reference in a new issue