mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 02:48:47 +00:00
Don't remove group items for group 0 (no group).
This commit is contained in:
parent
d0c462f718
commit
7d702f3cef
@ -181,6 +181,8 @@ cmdq_remove_group(struct cmdq_item *item)
|
||||
{
|
||||
struct cmdq_item *this, *next;
|
||||
|
||||
if (item->group == 0)
|
||||
return;
|
||||
this = TAILQ_NEXT(item, entry);
|
||||
while (this != NULL) {
|
||||
next = TAILQ_NEXT(this, entry);
|
||||
|
Loading…
Reference in New Issue
Block a user