mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										2
									
								
								utf8.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								utf8.c
									
									
									
									
									
								
							@@ -525,7 +525,7 @@ utf8_strvis(char *dst, const char *src, size_t len, int flag)
 | 
			
		||||
			/* Not a complete, valid UTF-8 character. */
 | 
			
		||||
			src -= ud.have;
 | 
			
		||||
		}
 | 
			
		||||
		if (src[0] == '$' && src < end - 1) {
 | 
			
		||||
		if ((flag & VIS_DQ) && src[0] == '$' && src < end - 1) {
 | 
			
		||||
			if (isalpha((u_char)src[1]) ||
 | 
			
		||||
			    src[1] == '_' ||
 | 
			
		||||
			    src[1] == '{')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user