From 3b58ac193232d266e89b0b60cb06fecd0d835268 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Tue, 12 Sep 2006 18:51:05 +0000 Subject: [PATCH] Fix last things preventing me from compiling the tree: vsnprintt -> _vsnprintf in the wine/unicode.h and in riched20 svn path=/trunk/; revision=24083 --- reactos/dll/win32/riched20/writer.c | 2 +- reactos/include/reactos/wine/unicode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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))