summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-12 17:45:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-12 17:45:20 +0300
commit482bd8dda9f44a359ebaac861d3c6bec0d2bd3de (patch)
treed1a640b40a13b01e98514a9a37754abf7faec40c /plugins/Msg_Export
parent40071b761bb40fba6ce72b3463da4ffff7667ab8 (diff)
Msg_Export: fix for error window
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp
index 8e137e3f73..9dbba8f4e9 100755
--- a/plugins/Msg_Export/src/utils.cpp
+++ b/plugins/Msg_Export/src/utils.cpp
@@ -380,7 +380,7 @@ wstring GetFilePathFromUser(MCONTACT hContact)
if (!MoveFile(sPrevFileName.c_str(), sFilePath.c_str())) {
// this might be because the new path isn't created
// so we will try to create it
- CreateDirectoryTreeW(sFilePath.c_str());
+ CreatePathToFileW(sFilePath.c_str());
while (!MoveFile(sPrevFileName.c_str(), sFilePath.c_str())) {
mir_snwprintf(szTemp,