mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Modified SuperCardPro template so it doesn't try to read empty strings.
This commit is contained in:
@@ -124,6 +124,9 @@ local long footerPosition = 0;
|
||||
|
||||
wstring ReadPStringUTF8(uint pos)
|
||||
{
|
||||
if(pos == 0)
|
||||
return "";
|
||||
|
||||
FSeek(pos);
|
||||
ushort strLen = ReadUShort();
|
||||
char str[] = ReadString(pos + 2, strLen);
|
||||
|
||||
Reference in New Issue
Block a user