"Jaco Greeff" jaco@puxedo.org writes:
Changelog:
- dlls/user/wsprintf.c Jaco Greeff jaco@puxedo.org
- Changed the wsprintf[A|W] and wvsprintf[A|W] functions to determine the size of the destination buffer before writing to it. Previously the size was hardcoded to 1024 bytes.
The size is supposed to be hardcoded to 1024, that's how wsprintf works. You can't make it dynamic since the buffer is allocated by the application.