Browse Source

bug fix, incorrect update of a wordlist's wl_prev pointer

rlar 14 years ago
parent
commit
e1f8033f1c
  1. 2
      src/frontend/parser/complete.c

2
src/frontend/parser/complete.c

@ -364,7 +364,7 @@ cctowl(struct ccom *cc, bool sib)
; ;
end->wl_next = cctowl(cc->cc_sibling, TRUE); end->wl_next = cctowl(cc->cc_sibling, TRUE);
if (end->wl_next) if (end->wl_next)
end->wl_next->wl_prev = wl;
end->wl_next->wl_prev = end;
} else } else
wl = cctowl(cc->cc_sibling, TRUE); wl = cctowl(cc->cc_sibling, TRUE);
} }

Loading…
Cancel
Save