inp_search_closing_paren(), rewrite
This commit is contained in:
parent
ff2e850f1c
commit
59be847d28
|
|
@ -1816,9 +1816,9 @@ inp_search_for_closing_paren2(char *s)
|
|||
count++;
|
||||
if (*s == ')')
|
||||
count--;
|
||||
s++;
|
||||
if (count == 0)
|
||||
return s;
|
||||
return s + 1;
|
||||
s++;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue