vga2ansi maps negative values to 0

This commit is contained in:
Markus Gans 2018-06-12 17:01:47 +02:00
parent 8a5b6d349d
commit 555e93e058
1 changed files with 2 additions and 0 deletions

View File

@ -532,6 +532,8 @@ short FOptiAttr::vga2ansi (register short color)
color = lookup_table[color];
}
else
color = 0;
return color;
}