diff --git a/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp b/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp index c1d6847d..ba8b145a 100644 --- a/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp +++ b/Sources/Plasma/PubUtilLib/plFile/plStreamSource.cpp @@ -118,8 +118,9 @@ std::vector plStreamSource::GetListOfNames(const plFileName& dir, co std::vector files = plFileSystem::ListDir(sDir, ("*." + ext).c_str()); for (auto iter = files.begin(); iter != files.end(); ++iter) { - if (fFileData.find(*iter) == fFileData.end()) // we haven't added it yet - retVal.push_back(*iter); + plFileName norm = iter->Normalize('/'); + if (fFileData.find(norm) == fFileData.end()) // we haven't added it yet + retVal.push_back(norm); } #endif // PLASMA_EXTERNAL_RELEASE