mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Type deletion protection in mPopulateTypeWorkList
This commit is contained in:
parent
667642ca52
commit
c73cf12f5e
2 changed files with 4 additions and 4 deletions
|
@ -9927,9 +9927,8 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetCollapseRegions(BfCompiler* bfCo
|
|||
else
|
||||
{
|
||||
int dollarPos = (int)emitParser->mFileName.LastIndexOf('$');
|
||||
if (dollarPos == -1)
|
||||
return -1;
|
||||
outString += emitParser->mFileName.Substring(dollarPos + 1);
|
||||
if (dollarPos != -1)
|
||||
outString += emitParser->mFileName.Substring(dollarPos + 1);
|
||||
}
|
||||
outString += "\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue