mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Insert after the right element on queue.
This commit is contained in:
parent
4097257bef
commit
e8e4f4ec3e
@ -94,6 +94,7 @@ cmdq_insert_after(struct cmdq_item *after, struct cmdq_item *item)
|
||||
log_debug("%s %s: %s after %s", __func__, cmdq_name(c),
|
||||
item->name, after->name);
|
||||
|
||||
after = item;
|
||||
item = next;
|
||||
} while (item != NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user