mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- zero-terminate the buffer for reading Blood's INI files.
This commit is contained in:
parent
3512fe8fba
commit
4dd293d551
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ void IniFile::Load()
|
|||
auto fp = fileSystem.OpenFileReader(fileName);
|
||||
if (fp.isOpen())
|
||||
{
|
||||
auto pBuffer = fp.Read();
|
||||
auto pBuffer = fp.ReadPadded(1);
|
||||
LoadRes(pBuffer.Data());
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue