1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Crash Fix: normalize filenames in the patcher!

There were two different path separator styles that caused
plResManager::RemoveSinglePage to do nothing when called from the patcher.
D'oh!
This commit is contained in:
2014-05-28 16:17:04 -04:00
parent a4170aafc4
commit 4035d96095

View File

@ -182,8 +182,8 @@ public:
virtual bool Open(const plFileName& filename, const char* mode)
{
fFilename = filename;
return plZlibStream::Open(filename, mode);
fFilename = filename.Normalize();
return plZlibStream::Open(fFilename, mode);
}
virtual uint32_t Write(uint32_t count, const void* buf)