From df13b2870889a7cb8c319fd35d5ff4f1ae4c2fe0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Feb 2019 12:43:50 +0300 Subject: fixes #1737 (Msg_Export: double .json extension) --- plugins/Msg_Export/src/utils.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/Msg_Export') diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index d49f796cac..a0892fd5d0 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -937,9 +937,6 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, wstring sFilePath HANDLE openCreateFile(wstring sFilePath) { - if (g_bUseJson) - sFilePath += L".json"; - SetLastError(0); HANDLE hFile = CreateFile(sFilePath.c_str(), GENERIC_WRITE | GENERIC_READ, FILE_SHARE_READ, nullptr, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, nullptr); -- cgit v1.2.3