inpcom.c, cleanup inp_remove_ws(), #3/4, common code in if-then-else
This commit is contained in:
parent
d1260f4e4d
commit
e25620f117
|
|
@ -2221,11 +2221,9 @@ inp_remove_ws(char *s)
|
|||
is_expression = TRUE;
|
||||
if (*s == '}')
|
||||
is_expression = FALSE;
|
||||
|
||||
*d++ = *s;
|
||||
} else {
|
||||
*d++ = *s;
|
||||
}
|
||||
|
||||
*d++ = *s;
|
||||
s++;
|
||||
if (isspace(*s)) {
|
||||
s = skip_ws(s);
|
||||
|
|
|
|||
Loading…
Reference in New Issue