diff options
-rwxr-xr-x | plugins/Msg_Export/src/utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 5f7be44f0a..8b629bd6a4 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -329,6 +329,8 @@ void ReplaceDBPath(wstring &sRet) wstring GetFilePathFromUser(MCONTACT hContact)
{
wstring sFilePath = g_sExportDir + _DBGetStringW(hContact, MODULENAME, "FileName", g_sDefaultFile.c_str());
+ if (g_bUseJson)
+ sFilePath += L".json";
bool bNickUsed = sFilePath.find(L"%nick%") != string::npos;
|