inpcom.c, expand_section_ref(), #1/7, cend != NULL === t != section_def
This commit is contained in:
parent
a51c1aba2c
commit
7f2cf192b6
|
|
@ -2423,7 +2423,7 @@ expand_section_ref(struct line *c, char *dir_name)
|
|||
struct line *t = section_def;
|
||||
for (; t; t=t->li_next) {
|
||||
newl = xx_new_line(NULL, copy(t->li_line), t->li_linenum, t->li_linenum_orig);
|
||||
if (cend)
|
||||
if (t != section_def)
|
||||
cend->li_next = newl;
|
||||
else {
|
||||
c->li_next = newl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue