mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
Core/Utils: Fix a crash in vutf8printf. Author: Vladimir
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user