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:
		
							
								
								
									
										3
									
								
								colour.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								colour.c
									
									
									
									
									
								
							@@ -986,7 +986,8 @@ colour_byname(const char *name)
 | 
			
		||||
	int		 c;
 | 
			
		||||
	const char	*errstr;
 | 
			
		||||
 | 
			
		||||
	if (strncmp(name, "grey", 4) == 0 || strncmp(name, "gray", 4) == 0) {
 | 
			
		||||
	if (strncasecmp(name, "grey", 4) == 0 ||
 | 
			
		||||
	    strncasecmp(name, "gray", 4) == 0) {
 | 
			
		||||
		if (name[4] == '\0')
 | 
			
		||||
			return (0xbebebe|COLOUR_FLAG_RGB);
 | 
			
		||||
		c = strtonum(name + 4, 0, 100, &errstr);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user