mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Warning fix (and I don't like shadowing)
This commit is contained in:
parent
3b6e3de088
commit
19af6531f7
1 changed files with 4 additions and 4 deletions
|
@ -255,12 +255,12 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
|
|||
for (size_t i=0; i<e->children.size(); i++)
|
||||
{
|
||||
std::string n = (e->children[i]->name);
|
||||
for (size_t i = 0; i < n.size(); i++) {
|
||||
n[i] = tolower(n[i]);
|
||||
for (size_t j = 0; j < n.size(); j++) {
|
||||
n[j] = tolower(n[j]);
|
||||
}
|
||||
std::string curPath = path.substr(0, path.find_first_of('/'));
|
||||
for (size_t i = 0; i < curPath.size(); i++) {
|
||||
curPath[i] = tolower(curPath[i]);
|
||||
for (size_t j = 0; j < curPath.size(); j++) {
|
||||
curPath[j] = tolower(curPath[j]);
|
||||
}
|
||||
|
||||
if (curPath == n)
|
||||
|
|
Loading…
Add table
Reference in a new issue