mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Fix a warning.
This commit is contained in:
		@@ -476,7 +476,7 @@ cmd_find_get_window_with_session(struct cmd_find_state *fs, const char *window)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Try as an offset. */
 | 
						/* Try as an offset. */
 | 
				
			||||||
	if (!exact && window[0] == '+' || window[0] == '-') {
 | 
						if (!exact && (window[0] == '+' || window[0] == '-')) {
 | 
				
			||||||
		if (window[1] != '\0')
 | 
							if (window[1] != '\0')
 | 
				
			||||||
			n = strtonum(window + 1, 1, INT_MAX, NULL);
 | 
								n = strtonum(window + 1, 1, INT_MAX, NULL);
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user