dlls/user: w[v]snprintf[A|W] fixes

Alexandre Julliard julliard at winehq.com
Sat Oct 26 16:57:53 CDT 2002

"Jaco Greeff" <jaco at puxedo.org> writes:

> Changelog:
> * dlls/user/wsprintf.c Jaco Greeff <jaco at 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

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list