Core/Utils: Fix a crash in vutf8printf. Author: Vladimir

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-09-18 11:29:09 +02:00
parent 6ba1aec80c
commit 49dc1e55de

View File

@@ -475,7 +475,7 @@ void vutf8printf(FILE *out, const char *str, va_list* ap)
Utf8toWStr(temp_buf, temp_len, wtemp_buf, wtemp_len);
CharToOemBuffW(&wtemp_buf[0], &temp_buf[0], wtemp_len+1);
fprintf(out, temp_buf);
fprintf(out, "%s", temp_buf);
#else
vfprintf(out, str, *ap);
#endif