mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 21:35:28 +00:00
commit patch from http://forums.dolphin-emu.com/thread-6527.html fixes the "Purge Cache" in the "View" menu, maybe other things.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4827 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5aac8a5437
commit
dd01e0d417
@ -101,11 +101,12 @@ 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
|
||||
std::string full_name;
|
||||
if (_strPath.c_str()[_strPath.size()-1] == DIR_SEP_CHR)
|
||||
full_name = _strPath + s;
|
||||
else
|
||||
full_name = _strPath + DIR_SEP + s;
|
||||
|
||||
m_FileNames.push_back(full_name);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user