diff --git a/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp b/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp index adf125f6..c1d6847d 100644 --- a/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp +++ b/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp @@ -107,7 +107,8 @@ std::vector plStreamSource::GetListOfNames(const plFileName& dir, co std::vector 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); }