1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +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) virtual bool Open(const plFileName& filename, const char* mode)
{ {
fFilename = filename; fFilename = filename.Normalize();
return plZlibStream::Open(filename, mode); return plZlibStream::Open(fFilename, mode);
} }
virtual uint32_t Write(uint32_t count, const void* buf) virtual uint32_t Write(uint32_t count, const void* buf)