1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fix for ReadLib with '/<'-prefixed names

This commit is contained in:
Brian Fiete 2022-01-09 09:04:23 -05:00
parent 446ec6cae7
commit 3100f7e56d

View file

@ -104,7 +104,7 @@ bool BeLibFile::ReadLib()
else
{
String fileName;
if (header.mName[0] == '/')
if ((header.mName[0] == '/') && (header.mName[1] != '<') && (libStrTable != NULL))
{
int tabIdx = atoi(&header.mName[1]);
for (int checkIdx = tabIdx; true; checkIdx++)