diff --git a/reactos/dll/win32/riched20/writer.c b/reactos/dll/win32/riched20/writer.c index c8d1226c894..3054e2fec9e 100644 --- a/reactos/dll/win32/riched20/writer.c +++ b/reactos/dll/win32/riched20/writer.c @@ -116,7 +116,7 @@ ME_StreamOutPrint(ME_TextEditor *editor, const char *format, ...) va_list valist; va_start(valist, format); - len = vsnprintf(string, sizeof(string), format, valist); + len = _vsnprintf(string, sizeof(string), format, valist); va_end(valist); return ME_StreamOutMove(editor, string, len); diff --git a/reactos/include/reactos/wine/unicode.h b/reactos/include/reactos/wine/unicode.h index 97b417a7f23..d65876d5d6e 100644 --- a/reactos/include/reactos/wine/unicode.h +++ b/reactos/include/reactos/wine/unicode.h @@ -37,7 +37,7 @@ #define sprintfW swprintf #define vsprintfW vswprintf #define snprintfW _snwprintf -#define vsnprintfW vsnwprintf +#define vsnprintfW _vsnwprintf #ifndef WINE_UNICODE_API #define WINE_UNICODE_API __attribute__((dllimport))