mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Repair switch-client -l and switch-client with a window target.
This commit is contained in:
		@@ -90,10 +90,9 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
				
			|||||||
			cmdq_error(cmdq, "can't find last session");
 | 
								cmdq_error(cmdq, "can't find last session");
 | 
				
			||||||
			return (CMD_RETURN_ERROR);
 | 
								return (CMD_RETURN_ERROR);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
		if (cmdq->client == NULL)
 | 
							if (cmdq->client == NULL)
 | 
				
			||||||
			return (CMD_RETURN_NORMAL);
 | 
								return (CMD_RETURN_NORMAL);
 | 
				
			||||||
 | 
					 | 
				
			||||||
		s = state->tflag.s;
 | 
					 | 
				
			||||||
		if (state->tflag.wl != NULL) {
 | 
							if (state->tflag.wl != NULL) {
 | 
				
			||||||
			wp = state->tflag.wp;
 | 
								wp = state->tflag.wp;
 | 
				
			||||||
			if (wp != NULL)
 | 
								if (wp != NULL)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user