mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +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);
|
auto fp = fileSystem.OpenFileReader(fileName);
|
||||||
if (fp.isOpen())
|
if (fp.isOpen())
|
||||||
{
|
{
|
||||||
auto pBuffer = fp.Read();
|
auto pBuffer = fp.ReadPadded(1);
|
||||||
LoadRes(pBuffer.Data());
|
LoadRes(pBuffer.Data());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue