summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-18 17:04:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-18 17:04:19 +0300
commitb332df3cf681e42a5fc6060d58ba7552c79974ee (patch)
tree5525c132d27ed22af79d1ac2d55d4ca11e6a60df /src
parentcad6966056f4649e24dfb55c929d6dc4f1a46e32 (diff)
fix for a log file name
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);
}