mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Spacing, warning nits.
This commit is contained in:
		
							
								
								
									
										2
									
								
								cmd.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cmd.c
									
									
									
									
									
								
							@@ -1242,7 +1242,7 @@ cmd_find_pane_offset(const char *paneptr, struct winlink *wl)
 | 
				
			|||||||
char *
 | 
					char *
 | 
				
			||||||
cmd_template_replace(const char *template, const char *s, int idx)
 | 
					cmd_template_replace(const char *template, const char *s, int idx)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	char	 	 ch, *buf;
 | 
						char		 ch, *buf;
 | 
				
			||||||
	const char	*ptr;
 | 
						const char	*ptr;
 | 
				
			||||||
	int		 replaced;
 | 
						int		 replaced;
 | 
				
			||||||
	size_t		 len;
 | 
						size_t		 len;
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								grid.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								grid.c
									
									
									
									
									
								
							@@ -725,7 +725,7 @@ void
 | 
				
			|||||||
grid_reflow_split(struct grid *dst, u_int *py, struct grid_line *src_gl,
 | 
					grid_reflow_split(struct grid *dst, u_int *py, struct grid_line *src_gl,
 | 
				
			||||||
    u_int new_x, u_int offset)
 | 
					    u_int new_x, u_int offset)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct grid_line	*dst_gl;
 | 
						struct grid_line	*dst_gl = NULL;
 | 
				
			||||||
	u_int			 to_copy;
 | 
						u_int			 to_copy;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Loop and copy sections of the source line. */
 | 
						/* Loop and copy sections of the source line. */
 | 
				
			||||||
@@ -756,7 +756,8 @@ grid_reflow_split(struct grid *dst, u_int *py, struct grid_line *src_gl,
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Last line is not wrapped. */
 | 
						/* Last line is not wrapped. */
 | 
				
			||||||
	dst_gl->flags &= ~GRID_LINE_WRAPPED;
 | 
						if (dst_gl != NULL)
 | 
				
			||||||
 | 
							dst_gl->flags &= ~GRID_LINE_WRAPPED;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Move line data. */
 | 
					/* Move line data. */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user