From 22ee21f9059ffdc8f27221ea0e7893e79e5665f6 Mon Sep 17 00:00:00 2001 From: wieslawsoltes Date: Fri, 23 Feb 2018 09:48:11 +0000 Subject: [PATCH] Use get file path --- src/cli/App.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/App.h b/src/cli/App.h index 9703773..53bee1c 100644 --- a/src/cli/App.h +++ b/src/cli/App.h @@ -176,7 +176,7 @@ public: if (w32FileData.cFileName[0] != '.' && !(w32FileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0) { std::wstring szFileName = w32FileData.cFileName; - std::wstring szFilePath = util::Utilities::GetFullPathName(szFileName); + std::wstring szFilePath = util::Utilities::GetFilePath(pattern) + L"\\" + szFileName; files.push_back(szFilePath); } if (FindNextFile(hSearch, &w32FileData) == FALSE)