summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/CMPluginBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/CMPluginBase.cpp b/src/mir_app/src/CMPluginBase.cpp
index 72c7beb723..3c6cc3da85 100644
--- a/src/mir_app/src/CMPluginBase.cpp
+++ b/src/mir_app/src/CMPluginBase.cpp
@@ -43,7 +43,7 @@ CMPluginBase::~CMPluginBase()
void CMPluginBase::tryOpenLog()
{
wchar_t path[MAX_PATH];
- mir_snwprintf(path, L"%s\\%s.txt", VARSW(L"%miranda_logpath%"), m_szModuleName);
+ mir_snwprintf(path, L"%s\\%S.txt", VARSW(L"%miranda_logpath%"), m_szModuleName);
m_hLogger = mir_createLog(m_szModuleName, nullptr, path, 0);
}