mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Style and spacing nits.
This commit is contained in:
		@@ -254,7 +254,7 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
		RB_FOREACH(w, windows, &windows)
 | 
			
		||||
			layout_fix_panes(w, w->sx, w->sy);
 | 
			
		||||
	}
 | 
			
		||||
	RB_FOREACH (s, sessions, &sessions)
 | 
			
		||||
	RB_FOREACH(s, sessions, &sessions)
 | 
			
		||||
		status_update_saved(s);
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								format.c
									
									
									
									
									
								
							@@ -203,7 +203,7 @@ format_job_update(struct job *job)
 | 
			
		||||
 | 
			
		||||
	log_debug("%s: %p %s: %s", __func__, fj, fj->cmd, fj->out);
 | 
			
		||||
 | 
			
		||||
	t = time (NULL);
 | 
			
		||||
	t = time(NULL);
 | 
			
		||||
	if (fj->status && fj->last != t) {
 | 
			
		||||
		if (fj->client != NULL)
 | 
			
		||||
			server_status_client(fj->client);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								job.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								job.c
									
									
									
									
									
								
							@@ -158,7 +158,7 @@ job_read_callback(__unused struct bufferevent *bufev, void *data)
 | 
			
		||||
	struct job	*job = data;
 | 
			
		||||
 | 
			
		||||
	if (job->updatecb != NULL)
 | 
			
		||||
		job->updatecb (job);
 | 
			
		||||
		job->updatecb(job);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 
 | 
			
		||||
@@ -114,7 +114,7 @@ options_free(struct options *oo)
 | 
			
		||||
{
 | 
			
		||||
	struct options_entry	*o, *tmp;
 | 
			
		||||
 | 
			
		||||
	RB_FOREACH_SAFE (o, options_tree, &oo->tree, tmp)
 | 
			
		||||
	RB_FOREACH_SAFE(o, options_tree, &oo->tree, tmp)
 | 
			
		||||
		options_remove(o);
 | 
			
		||||
	free(oo);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -48,7 +48,7 @@ struct screen_write_collect_item {
 | 
			
		||||
 | 
			
		||||
	struct grid_cell	 gc;
 | 
			
		||||
 | 
			
		||||
	TAILQ_ENTRY (screen_write_collect_item) entry;
 | 
			
		||||
	TAILQ_ENTRY(screen_write_collect_item) entry;
 | 
			
		||||
};
 | 
			
		||||
struct screen_write_collect_line {
 | 
			
		||||
	TAILQ_HEAD(, screen_write_collect_item) items;
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								utf8.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								utf8.c
									
									
									
									
									
								
							@@ -402,8 +402,7 @@ utf8_rtrimcstr(const char *s, u_int width)
 | 
			
		||||
	next = end - 1;
 | 
			
		||||
 | 
			
		||||
	at = 0;
 | 
			
		||||
	for (;;)
 | 
			
		||||
	{
 | 
			
		||||
	for (;;) {
 | 
			
		||||
		if (at + next->width > width) {
 | 
			
		||||
			next++;
 | 
			
		||||
			break;
 | 
			
		||||
 
 | 
			
		||||
@@ -199,7 +199,7 @@ window_buffer_draw(__unused void *modedata, void *itemdata, u_int sx, u_int sy)
 | 
			
		||||
	screen_write_start(&ctx, NULL, &s);
 | 
			
		||||
	screen_write_clearscreen(&ctx, 8);
 | 
			
		||||
 | 
			
		||||
	pdata = end = paste_buffer_data (pb, &psize);
 | 
			
		||||
	pdata = end = paste_buffer_data(pb, &psize);
 | 
			
		||||
	for (i = 0; i < sy; i++) {
 | 
			
		||||
		at = 0;
 | 
			
		||||
		while (end != pdata + psize && *end != '\n') {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user