summaryrefslogtreecommitdiffstats
path: root/src/common/file_search.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-09-07 20:50:43 +0200
committerarchshift <admin@archshift.com>2014-09-09 00:43:22 +0200
commit5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f (patch)
treeb55a6013b561cbb1986a04f2154fe18c0774e891 /src/common/file_search.cpp
parentloader.cpp: improved file extension checking, made Upper/LowerStr useful (diff)
downloadyuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar
yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.gz
yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.bz2
yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.lz
yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.xz
yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.zst
yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.zip
Diffstat (limited to '')
-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
void CFileSearch::FindFiles(const std::string& _searchString, const std::string& _strPath)
{
std::string GCMSearchPath;
- BuildCompleteFilename(GCMSearchPath, _strPath, _searchString);
+ Common::BuildCompleteFilename(GCMSearchPath, _strPath, _searchString);
#ifdef _WIN32
WIN32_FIND_DATA findData;
- HANDLE FindFirst = FindFirstFile(UTF8ToTStr(GCMSearchPath).c_str(), &findData);
+ HANDLE FindFirst = FindFirstFile(Common::UTF8ToTStr(GCMSearchPath).c_str(), &findData);
if (FindFirst != INVALID_HANDLE_VALUE)
{
@@ -49,7 +49,7 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string&
if (findData.cFileName[0] != '.')
{
std::string strFilename;
- BuildCompleteFilename(strFilename, _strPath, TStrToUTF8(findData.cFileName));
+ Common::BuildCompleteFilename(strFilename, _strPath, Common::TStrToUTF8(findData.cFileName));
m_FileNames.push_back(strFilename);
}