mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue