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