diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-10 15:32:08 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-10 15:32:08 +0000 |
commit | 11d86694ad9e1fac144661366ce5f5ed2cadbc9c (patch) | |
tree | fc4b4a6c3122550a3191114cdcb9fa6d285738a7 | |
parent | 4f5ccbd1f5b1ca1075f4b1ce6b013e15044db0a1 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16269 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Db_autobackups/src/backup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp index 48044887e4..b83a4f527e 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -89,7 +89,7 @@ bool MakeZip_Dir(LPCSTR szDir, LPCTSTR szDest, LPCSTR /* szDbName */, HWND progr for (auto it = fs::recursive_directory_iterator(fs::path(szDir)); it != fs::recursive_directory_iterator() && GetWindowLongPtr(progress_dialog, GWLP_USERDATA) != 1; ++it)
{
const auto& file = it->path();
- if (!fs::is_directory(file) && file.string().find(_T2A(fs::wpath(szDest).string().c_str())) == std::string::npos)
+ if (!fs::is_directory(file) && file.string().find(fs::path((char*)_T2A(szDest)).string().c_str()) == std::string::npos)
{
const std::string &filepath = file.string();
const std::string rpath = filepath.substr(filepath.find(szDir) + mir_strlen(szDir) + 1);
|