From b332df3cf681e42a5fc6060d58ba7552c79974ee Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 May 2018 17:04:19 +0300 Subject: fix for a log file name --- src/mir_app/src/CMPluginBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3