mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
StreamSource is case insensitive
This commit is contained in:
@ -107,7 +107,8 @@ std::vector<plFileName> plStreamSource::GetListOfNames(const plFileName& dir, co
|
||||
std::vector<plFileName> retVal;
|
||||
for (auto curData = fFileData.begin(); curData != fFileData.end(); curData++)
|
||||
{
|
||||
if ((curData->second.fDir == sDir) && (curData->second.fExt == ext))
|
||||
if ((curData->second.fDir.AsString().CompareI(sDir.AsString()) == 0) &&
|
||||
(curData->second.fExt.CompareI(ext) == 0))
|
||||
retVal.push_back(curData->second.fFilename);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user