mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Tidy up new UTF-8 code and make it more generic.
This commit is contained in:
		@@ -2571,7 +2571,7 @@ window_copy_cellstring(const struct grid_line *gl, u_int px, size_t *size,
 | 
			
		||||
		return (&gce->data.data);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	utf8_get_big(gl->extddata[gce->offset].data, &ud);
 | 
			
		||||
	utf8_to_data(gl->extddata[gce->offset].data, &ud);
 | 
			
		||||
	*size = ud.size;
 | 
			
		||||
	*allocated = 1;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user