inpcom.c, simple cleanups

This commit is contained in:
rlar 2013-05-26 00:07:43 +02:00
parent 30a88925da
commit 129b1f36ed
1 changed files with 9 additions and 10 deletions

View File

@ -1024,11 +1024,10 @@ inp_chk_for_multi_in_vcvs(struct line *deck, int *line_number)
while (*str_ptr2 != '{') while (*str_ptr2 != '{')
str_ptr2--; str_ptr2--;
xy_str1 = str_ptr2; xy_str1 = str_ptr2;
str_ptr2 = skip_back_ws(xy_str1);
} else { } else {
xy_str1 = skip_back_non_ws(str_ptr2); xy_str1 = skip_back_non_ws(str_ptr2);
str_ptr2 = skip_back_ws(xy_str1);
} }
str_ptr2 = skip_back_ws(xy_str1);
keep = *str_ptr2; keep = *str_ptr2;
*str_ptr2 = '\0'; *str_ptr2 = '\0';
ctrl_node_str = strdup(str_ptr1); ctrl_node_str = strdup(str_ptr1);