mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Don't remove group items for group 0 (no group).
This commit is contained in:
		@@ -181,6 +181,8 @@ cmdq_remove_group(struct cmdq_item *item)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	struct cmdq_item	*this, *next;
 | 
						struct cmdq_item	*this, *next;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (item->group == 0)
 | 
				
			||||||
 | 
							return;
 | 
				
			||||||
	this = TAILQ_NEXT(item, entry);
 | 
						this = TAILQ_NEXT(item, entry);
 | 
				
			||||||
	while (this != NULL) {
 | 
						while (this != NULL) {
 | 
				
			||||||
		next = TAILQ_NEXT(this, entry);
 | 
							next = TAILQ_NEXT(this, entry);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user