summaryrefslogtreecommitdiff
path: root/src/common/file_search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/file_search.cpp')
-rw-r--r--src/common/file_search.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/file_search.cpp b/src/common/file_search.cpp
index a9d19477d..a80a98820 100644
--- a/src/common/file_search.cpp
+++ b/src/common/file_search.cpp
@@ -35,10 +35,10 @@ CFileSearch::CFileSearch(const CFileSearch::XStringVector& _rSearchStrings, cons
35void CFileSearch::FindFiles(const std::string& _searchString, const std::string& _strPath) 35void CFileSearch::FindFiles(const std::string& _searchString, const std::string& _strPath)
36{ 36{
37 std::string GCMSearchPath; 37 std::string GCMSearchPath;
38 BuildCompleteFilename(GCMSearchPath, _strPath, _searchString); 38 Common::BuildCompleteFilename(GCMSearchPath, _strPath, _searchString);
39#ifdef _WIN32 39#ifdef _WIN32
40 WIN32_FIND_DATA findData; 40 WIN32_FIND_DATA findData;
41 HANDLE FindFirst = FindFirstFile(UTF8ToTStr(GCMSearchPath).c_str(), &findData); 41 HANDLE FindFirst = FindFirstFile(Common::UTF8ToTStr(GCMSearchPath).c_str(), &findData);
42 42
43 if (FindFirst != INVALID_HANDLE_VALUE) 43 if (FindFirst != INVALID_HANDLE_VALUE)
44 { 44 {
@@ -49,7 +49,7 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string&
49 if (findData.cFileName[0] != '.') 49 if (findData.cFileName[0] != '.')
50 { 50 {
51 std::string strFilename; 51 std::string strFilename;
52 BuildCompleteFilename(strFilename, _strPath, TStrToUTF8(findData.cFileName)); 52 Common::BuildCompleteFilename(strFilename, _strPath, Common::TStrToUTF8(findData.cFileName));
53 m_FileNames.push_back(strFilename); 53 m_FileNames.push_back(strFilename);
54 } 54 }
55 55