From f17df0543d5a19408e87cc8eb23c576aa2af6178 Mon Sep 17 00:00:00 2001 From: Mihail Ivanchev Date: Sat, 10 Nov 2018 00:16:43 +0100 Subject: [PATCH] include: Fixed the Unicode expansion of _sntprintf. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45913 Signed-off-by: Mihail Ivanchev Signed-off-by: Alexandre Julliard --- include/tchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tchar.h b/include/tchar.h index d6f2b00dfdf..9e7a846f1cc 100644 --- a/include/tchar.h +++ b/include/tchar.h @@ -95,7 +95,7 @@ extern "C" { #define _puttc WINE_tchar_routine(putc, putc, putwc) #define _puttchar WINE_tchar_routine(putchar, putchar, putwchar) #define _putts WINE_tchar_routine(puts, puts, putws) -#define _sntprintf WINE_tchar_routine(snprintf, snprintf, snwprintf) +#define _sntprintf WINE_tchar_routine(snprintf, snprintf, _snwprintf) #define _stprintf WINE_tchar_routine(sprintf, sprintf, swprintf) #define _stscanf WINE_tchar_routine(sscanf, sscanf, swscanf) #define _taccess WINE_tchar_routine(access, _access, _waccess)