Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 23336 | Differences between
and this patch

Collapse All | Expand All

(-)pine4.55-orig/pico/osdep/unix (-1 / +3 lines)
Lines 998-1004 Link Here
998
    if(ANSI_COLOR()){
998
    if(ANSI_COLOR()){
999
	char buf[10];
999
	char buf[10];
1000
1000
1001
	if(color < 8)
1001
	if(color == 0)
1002
	  memcpy(buf, "\033[49m", 6);
1003
	else if(color < 8)
1002
	  sprintf(buf, "\033[4%cm",  color + '0');
1004
	  sprintf(buf, "\033[4%cm",  color + '0');
1003
	else
1005
	else
1004
	  sprintf(buf, "\033[10%cm", (color-8) + '0');
1006
	  sprintf(buf, "\033[10%cm", (color-8) + '0');

Return to bug 23336