summaryrefslogtreecommitdiffabout
path: root/src/comp.c
authorSergey Poznyakoff <gray@gnu.org.ua>2016-01-29 16:09:14 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2016-01-29 16:09:14 (GMT)
commit305199343206551e166b112a964eceb81caca782 (patch) (side-by-side diff)
tree309390bcd794520184465c88ddc121413a053ecf /src/comp.c
parent0c930fc6d3fde82e800c685ec1df92ddfa23fe09 (diff)
downloadpies-305199343206551e166b112a964eceb81caca782.tar.gz
pies-305199343206551e166b112a964eceb81caca782.tar.bz2
Bugfix
* src/comp.c (component_link): Restore "next" link.
Diffstat (limited to 'src/comp.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/comp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp.c b/src/comp.c
index 6f8e11f..539db93 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -69,6 +69,7 @@ component_link (struct component *comp, struct component *ref, int before)
assert (comp->listidx == ref->listidx);
comp->prev = ref;
+ comp->next = ref->next;
if ((x = ref->next))
x->prev = comp;

Return to:

Send suggestions and report system problems to the System administrator.