[PATCH] tchar.h: Fixed the Unicode expansion of _sntprintf.
Mihail Ivanchev
contact at ivanchev.net
Fri Nov 9 17:29:22 CST 2018
-------------- next part --------------
From 5d2b6683f2b35444ef4170010a332f7715ccc818 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact at ivanchev.net>
Date: Sat, 10 Nov 2018 00:16:43 +0100
Subject: [PATCH] tchar.h: Fixed the Unicode expansion of _sntprintf.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45913
Signed-off-by: Mihail Ivanchev <contact at ivanchev.net>
---
include/tchar.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/tchar.h b/include/tchar.h
index d6f2b00..9e7a846 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)
--
2.7.4
More information about the wine-devel
mailing list