Signed-off-by: Gijs Vermeulen gijsvrm@gmail.com --- dlls/msvcrt/wcs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c index 1932022c23..4e73169647 100644 --- a/dlls/msvcrt/wcs.c +++ b/dlls/msvcrt/wcs.c @@ -1165,12 +1165,12 @@ int WINAPIV MSVCRT__snprintf(char *str, unsigned int len, const char *format, .. /********************************************************************* * _snprintf_l (MSVCRT.@) */ -int WINAPIV MSVCRT__snprintf_l(char *str, unsigned int count, MSVCRT__locale_t locale, - const char *format, ...) +int WINAPIV MSVCRT__snprintf_l(char *str, unsigned int count, const char *format, + MSVCRT__locale_t locale, ...) { int retval; __ms_va_list valist; - __ms_va_start(valist, format); + __ms_va_start(valist, locale); retval = MSVCRT_vsnprintf_l(str, count, format, locale, valist); __ms_va_end(valist); return retval;