diff options
Diffstat (limited to 'Source/Core/Common/Src/FileSearch.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileSearch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/FileSearch.cpp b/Source/Core/Common/Src/FileSearch.cpp index 0cc7225f1c..363f578e24 100644 --- a/Source/Core/Common/Src/FileSearch.cpp +++ b/Source/Core/Common/Src/FileSearch.cpp @@ -101,7 +101,11 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string& if ( (s.size() > ext.size()) && (!strcasecmp(s.substr(s.size() - ext.size()).c_str(), ext.c_str())) ) { +#ifdef __APPLE__ + std::string full_name = _strPath + s; +#else std::string full_name = _strPath + "/" + s; +#endif m_FileNames.push_back(full_name); } } |
