vga2ansi maps negative values to 0
This commit is contained in:
parent
8a5b6d349d
commit
555e93e058
|
@ -532,6 +532,8 @@ short FOptiAttr::vga2ansi (register short color)
|
|||
|
||||
color = lookup_table[color];
|
||||
}
|
||||
else
|
||||
color = 0;
|
||||
|
||||
return color;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue