- zero-terminate the buffer for reading Blood's INI files.

This commit is contained in:
Christoph Oelckers 2021-06-26 12:04:21 +02:00
parent 3512fe8fba
commit 4dd293d551

View file

@ -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