1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/kon2-16dot/files/patch-ah

12 lines
405 B
Plaintext
Raw Normal View History

--- 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;