aboutsummaryrefslogtreecommitdiffstats
path: root/alc/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/helpers.cpp')
-rw-r--r--alc/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/helpers.cpp b/alc/helpers.cpp
index 2d532db1..0e2dc067 100644
--- a/alc/helpers.cpp
+++ b/alc/helpers.cpp
@@ -305,7 +305,7 @@ void al_print(FILE *logfile, const char *fmt, ...)
va_end(args);
std::wstring wstr{utf8_to_wstr(str)};
- fprintf(logfile, "%ls", wstr.c_str());
+ fputws(wstr.c_str(), logfile);
fflush(logfile);
}