inp_search_closing_paren(), rewrite

This commit is contained in:
rlar
2013-12-31 16:24:51 +01:00
parent 77478d8286
commit ff2e850f1c
+4 -6
View File
@@ -1801,9 +1801,8 @@ inp_search_closing_paren1(char *s)
if (count == 0) if (count == 0)
return s; return s;
} }
if (count != 0)
return NULL; return NULL;
return s;
} }
@@ -1821,9 +1820,8 @@ inp_search_for_closing_paren2(char *s)
if (count == 0) if (count == 0)
return s; return s;
} }
if (count != 0)
return NULL; return NULL;
return s;
} }