summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-01 12:43:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-01 12:43:50 +0300
commitdf13b2870889a7cb8c319fd35d5ff4f1ae4c2fe0 (patch)
tree1b4371c679e9c6cac2a0f89e264e458296061c65
parentbad4507664d3c68ad602e15ad3820e4ce11aa13f (diff)
fixes #1737 (Msg_Export: double .json extension)
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp3
1 files changed, 0 insertions, 3 deletions
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);