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:
@ -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)
|
||||
|
Reference in New Issue
Block a user