Rocco Rutte:
- don't ignore ANSI colors with $allow_ansi under some circumstances
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@792
e385b8ad-14ed-0310-8656-
cc95a2468c6d
pos += 2;
}
else if (buf[pos] == '0' && (pos + 1 == x || buf[pos + 1] == ';')) {
pos += 2;
}
else if (buf[pos] == '0' && (pos + 1 == x || buf[pos + 1] == ';')) {
-#ifdef HAVE_COLOR
- if (a->pair != -1)
- mutt_free_color (a->fg, a->bg);
-#endif
- a->attr = ANSI_OFF;
- a->pair = -1;
+ a->bg = -2;
+ a->fg = -2;
pos += 2;
}
else if (buf[pos] == '3' && isdigit (buf[pos + 1])) {
pos += 2;
}
else if (buf[pos] == '3' && isdigit (buf[pos + 1])) {