bug fix, missing update of a wordlist's wl_prev pointer
This commit is contained in:
parent
e1f8033f1c
commit
2a22c1b23c
|
|
@ -1216,6 +1216,9 @@ com_alter_common(wordlist *wl, int do_model)
|
|||
wlin = wlin->wl_prev;
|
||||
/* add ' = value' */
|
||||
wlin->wl_next = wleq;
|
||||
wleq->wl_prev = wlin;
|
||||
if(wleq->wl_next)
|
||||
wleq->wl_next->wl_prev = wleq;
|
||||
/* step back until 'alter' or 'altermod' is found,
|
||||
then move one step forward */
|
||||
while (!ciprefix("alter",wlin->wl_word)) //while (!ciprefix(wlin->wl_word,"alter"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue