Added missing braces after if statement
This commit is contained in:
parent
1285167461
commit
dbf62bf5ba
|
@ -231,9 +231,11 @@ void ProcessObjCall(int32_t objnum, int32_t subnum)
|
||||||
// Locate filename
|
// Locate filename
|
||||||
ptr1 = FindChar(linebuf, '"');
|
ptr1 = FindChar(linebuf, '"');
|
||||||
if (*ptr1)
|
if (*ptr1)
|
||||||
|
{
|
||||||
ptr1++;
|
ptr1++;
|
||||||
ptr2 = FindChar(ptr1, '"');
|
ptr2 = FindChar(ptr1, '"');
|
||||||
if (*ptr2) ptr2--;
|
if (*ptr2) ptr2--;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
ptr2 = ptr1;
|
ptr2 = ptr1;
|
||||||
num = ptr2 - ptr1 + 1;
|
num = ptr2 - ptr1 + 1;
|
||||||
|
|
Loading…
Reference in New Issue