aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/worldserver')
-rw-r--r--src/server/worldserver/CommandLine/CliRunnable.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp
index 37314e9136c..ce233bd8e02 100644
--- a/src/server/worldserver/CommandLine/CliRunnable.cpp
+++ b/src/server/worldserver/CommandLine/CliRunnable.cpp
@@ -97,9 +97,7 @@ void utf8print(void* /*arg*/, const char* str)
if (!Utf8toWStr(str, strlen(str), wtemp_buf, wtemp_len))
return;
- char temp_buf[6000];
- CharToOemBuffW(&wtemp_buf[0], &temp_buf[0], wtemp_len+1);
- printf(temp_buf);
+ wprintf(L"%s", wtemp_buf);
#else
{
printf("%s", str);