mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Fix searching when match is at end of line, from Brad Town.
This commit is contained in:
		@@ -1001,7 +1001,7 @@ window_copy_search_lr(struct grid *gd,
 | 
			
		||||
	int	matched;
 | 
			
		||||
 | 
			
		||||
	for (ax = first; ax < last; ax++) {
 | 
			
		||||
		if (ax + sgd->sx >= gd->sx)
 | 
			
		||||
		if (ax + sgd->sx > gd->sx)
 | 
			
		||||
			break;
 | 
			
		||||
		for (bx = 0; bx < sgd->sx; bx++) {
 | 
			
		||||
			px = ax + bx;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user