When getting an ecolor, we should check that stdout is a tty
This commit is contained in:
		@@ -290,7 +290,7 @@ hidden_def(ecolor)
 | 
			
		||||
 | 
			
		||||
const char *ecolor (einfo_color_t color)
 | 
			
		||||
{
 | 
			
		||||
	return (_ecolor (NULL, color));
 | 
			
		||||
	return (_ecolor (stdout, color));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#define EINFOVN(_file, _color) \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user