diff --git a/src/foptiattr.cpp b/src/foptiattr.cpp index 56b68957..96008b0b 100644 --- a/src/foptiattr.cpp +++ b/src/foptiattr.cpp @@ -532,6 +532,8 @@ short FOptiAttr::vga2ansi (register short color) color = lookup_table[color]; } + else + color = 0; return color; }