mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -830,7 +830,7 @@ GetCharABCWidthsA(
|
||||
|
||||
ret = NtGdiGetCharABCWidthsW( hdc,
|
||||
wstr[0],
|
||||
(ULONG)count,
|
||||
wlen - 1,
|
||||
(PWCHAR)wstr,
|
||||
GCABCW_NOFLOAT,
|
||||
(PVOID)lpabc);
|
||||
|
||||
Reference in New Issue
Block a user