Added missing braces after if statement

This commit is contained in:
davehein 2018-12-01 18:24:33 -06:00
parent 1285167461
commit dbf62bf5ba
1 changed files with 2 additions and 0 deletions

View File

@ -231,9 +231,11 @@ void ProcessObjCall(int32_t objnum, int32_t subnum)
// Locate filename
ptr1 = FindChar(linebuf, '"');
if (*ptr1)
{
ptr1++;
ptr2 = FindChar(ptr1, '"');
if (*ptr2) ptr2--;
}
else
ptr2 = ptr1;
num = ptr2 - ptr1 + 1;