inpcom.c, simple cleanups
This commit is contained in:
parent
30a88925da
commit
129b1f36ed
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue