From af17e970b38d2dc3990dfe65a6de68f5e65fa020 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 6 Dec 2017 13:45:57 +0000 Subject: [PATCH] Modified SuperCardPro template so it doesn't try to read empty strings. --- SCP.bt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SCP.bt b/SCP.bt index cb064b3..70f4078 100644 --- a/SCP.bt +++ b/SCP.bt @@ -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);