diff options
Diffstat (limited to 'src/trinitycore/CliRunnable.cpp')
-rw-r--r-- | src/trinitycore/CliRunnable.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/trinitycore/CliRunnable.cpp b/src/trinitycore/CliRunnable.cpp index f18d7ca49cb..f8bd94fc912 100644 --- a/src/trinitycore/CliRunnable.cpp +++ b/src/trinitycore/CliRunnable.cpp @@ -98,7 +98,12 @@ void utf8print(const char* str) CharToOemBuffW(&wtemp_buf[0],&temp_buf[0],wtemp_len+1); printf(temp_buf); #else - printf(str); +{ + va_list v; + vprintf(str, v); + va_end(v); + fflush(stdout); +} #endif } |