summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShellExt/src/utils.cpp')
-rw-r--r--plugins/ShellExt/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ShellExt/src/utils.cpp b/plugins/ShellExt/src/utils.cpp
index 834850073d..275224388e 100644
--- a/plugins/ShellExt/src/utils.cpp
+++ b/plugins/ShellExt/src/utils.cpp
@@ -1,11 +1,11 @@
#include "stdafx.h"
#ifdef LOG_ENABLED
-extern TCHAR tszLogPath[];
+extern wchar_t tszLogPath[];
void logA(const char *format, ...)
{
- FILE *out = _tfopen(tszLogPath, L"a+");
+ FILE *out = _wfopen(tszLogPath, L"a+");
if (out) {
va_list args;
va_start(args, format);