Correct ordering when adding after an existing item.

This commit is contained in:
nicm
2019-05-03 15:43:01 +00:00
parent 33298d6df6
commit cf6075fb29
2 changed files with 10 additions and 16 deletions

2
tmux.h
View File

@ -1291,7 +1291,7 @@ struct cmdq_shared {
/* Command queue item. */
typedef enum cmd_retval (*cmdq_cb) (struct cmdq_item *, void *);
struct cmdq_item {
const char *name;
char *name;
struct cmdq_list *queue;
struct cmdq_item *next;