mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Use the right index when adding item in choose-tree, from Thomas Adam.
This commit is contained in:
		
				
					committed by
					
						
						Thomas Adam
					
				
			
			
				
	
			
			
			
						parent
						
							c914fcfacb
						
					
				
				
					commit
					a1cd0eee1b
				
			@@ -212,7 +212,8 @@ windows_only:
 | 
			
		||||
 | 
			
		||||
			window_choose_add_window(wl->window->active,
 | 
			
		||||
			    ctx, s2, wm, cur_win_template,
 | 
			
		||||
			    final_win_action, idx_ses);
 | 
			
		||||
			    final_win_action,
 | 
			
		||||
			    (wflag && !sflag) ? win_ses : idx_ses);
 | 
			
		||||
 | 
			
		||||
			free(final_win_action);
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user