mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Whoooops. lower not upper.
This commit is contained in:
		
							
								
								
									
										6
									
								
								screen.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								screen.c
									
									
									
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| /* $Id: screen.c,v 1.15 2007-09-29 18:48:04 nicm Exp $ */ | /* $Id: screen.c,v 1.16 2007-09-29 18:51:26 nicm Exp $ */ | ||||||
|  |  | ||||||
| /* | /* | ||||||
|  * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> |  * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> | ||||||
| @@ -590,10 +590,10 @@ screen_insert_lines_region(struct screen *s, u_int py, u_int ny) | |||||||
| 	 *	screen_make_lines(s, 13, 2);	- make lines 13,14 | 	 *	screen_make_lines(s, 13, 2);	- make lines 13,14 | ||||||
| 	 */ | 	 */ | ||||||
|  |  | ||||||
| 	screen_free_lines(s, (s->ry_upper + 1) - ny, ny); | 	screen_free_lines(s, (s->ry_lower + 1) - ny, ny); | ||||||
|  |  | ||||||
| 	if (py != s->ry_upper) | 	if (py != s->ry_upper) | ||||||
| 		screen_move_lines(s, py + ny, py, (s->ry_upper + 1) - py - ny); | 		screen_move_lines(s, py + ny, py, (s->ry_lower + 1) - py - ny); | ||||||
|  |  | ||||||
| 	screen_make_lines(s, py, ny); | 	screen_make_lines(s, py, ny); | ||||||
| 	screen_fill_lines( | 	screen_fill_lines( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nicholas Marriott
					Nicholas Marriott