mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Insert after the right element on queue.
This commit is contained in:
@ -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),
|
log_debug("%s %s: %s after %s", __func__, cmdq_name(c),
|
||||||
item->name, after->name);
|
item->name, after->name);
|
||||||
|
|
||||||
|
after = item;
|
||||||
item = next;
|
item = next;
|
||||||
} while (item != NULL);
|
} while (item != NULL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user