summaryrefslogtreecommitdiffstats
path: root/src/common/file_search.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-09-11 06:04:36 +0200
committerbunnei <bunneidev@gmail.com>2014-09-11 06:04:36 +0200
commit532a9e80a0bd242d2937335063b719130405d6bc (patch)
tree84fe1f054b62edc488a7a9e80eb8f79b2dd05cd0 /src/common/file_search.cpp
parentMerge pull request #103 from archshift/prune (diff)
parentMoved common_types::Rect from common to Common namespace (diff)
downloadyuzu-532a9e80a0bd242d2937335063b719130405d6bc.tar
yuzu-532a9e80a0bd242d2937335063b719130405d6bc.tar.gz
yuzu-532a9e80a0bd242d2937335063b719130405d6bc.tar.bz2
yuzu-532a9e80a0bd242d2937335063b719130405d6bc.tar.lz
yuzu-532a9e80a0bd242d2937335063b719130405d6bc.tar.xz
yuzu-532a9e80a0bd242d2937335063b719130405d6bc.tar.zst
yuzu-532a9e80a0bd242d2937335063b719130405d6bc.zip
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 cd50ace75..63580f688 100644
--- a/src/common/file_search.cpp
+++ b/src/common/file_search.cpp
@@ -33,10 +33,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)
{
@@ -47,7 +47,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);
}