blob: 7a4e6d355b375d99dd07d70c17cdd8c634c33a82 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/display/vga.c Sun Jan 26 18:05:00 1997
+++ src/display/vga.c Mon Apr 7 10:37:35 1997
@@ -382,7 +382,7 @@
/* if (!code) return;*/
VgaSetColor(fc);
if (bc & 0x8) *(vcls - dInfo.glineByte) = 0;
- for (x = 0;x < sbFReg->high;x ++, code ++, fm >>= 1) {
+ if (code) for (x = 0;x < sbFReg->high;x ++, code ++, fm >>= 1) {
if (*code) {
VgaOutByte(*code);
*gram = *gram;
|