From 482bd8dda9f44a359ebaac861d3c6bec0d2bd3de Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Aug 2019 17:45:20 +0300 Subject: Msg_Export: fix for error window --- plugins/Msg_Export/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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, -- cgit v1.2.3