inpcom.c, cleanup inp_remove_ws(), #3/4, common code in if-then-else

This commit is contained in:
rlar 2014-12-31 16:33:21 +01:00
parent d1260f4e4d
commit e25620f117
1 changed files with 2 additions and 4 deletions

View File

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