mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		@@ -73,7 +73,9 @@ cmd_load_buffer_exec(struct cmd *self, struct cmdq_item *item)
 | 
				
			|||||||
	if (strcmp(path, "-") == 0) {
 | 
						if (strcmp(path, "-") == 0) {
 | 
				
			||||||
		cdata = xcalloc(1, sizeof *cdata);
 | 
							cdata = xcalloc(1, sizeof *cdata);
 | 
				
			||||||
		cdata->item = item;
 | 
							cdata->item = item;
 | 
				
			||||||
		cdata->bufname = xstrdup(bufname);
 | 
					
 | 
				
			||||||
 | 
							if (bufname != NULL)
 | 
				
			||||||
 | 
								cdata->bufname = xstrdup(bufname);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		error = server_set_stdin_callback(c, cmd_load_buffer_callback,
 | 
							error = server_set_stdin_callback(c, cmd_load_buffer_callback,
 | 
				
			||||||
		    cdata, &cause);
 | 
							    cdata, &cause);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user