diff options
author | George Hazan <ghazan@miranda.im> | 2019-08-12 17:45:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-08-12 17:45:20 +0300 |
commit | 482bd8dda9f44a359ebaac861d3c6bec0d2bd3de (patch) | |
tree | d1a640b40a13b01e98514a9a37754abf7faec40c /plugins | |
parent | 40071b761bb40fba6ce72b3463da4ffff7667ab8 (diff) |
Msg_Export: fix for error window
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/Msg_Export/src/utils.cpp | 2 |
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,
|