inp_search_closing_paren(), rewrite

This commit is contained in:
rlar 2013-10-03 11:54:58 +02:00
parent ff2e850f1c
commit 59be847d28
1 changed files with 2 additions and 2 deletions

View File

@ -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;