this function was used in only one DataFormat. ever. and it never worked...

This commit is contained in:
Michael Becker 2019-11-14 23:08:16 -05:00
parent a4cfd05827
commit 52c8c050f3
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -1118,7 +1118,8 @@ namespace UniversalEditor.IO
public string[] ReadNullTerminatedStringArray(int stringTableSize)
{
System.Collections.Generic.List<string> list = new System.Collections.Generic.List<string>();
while (base.Accessor.Remaining < stringTableSize)
long endpos = base.Accessor.Position + stringTableSize;
while (base.Accessor.Position < endpos)
{
list.Add(ReadNullTerminatedString());
}