Update of /cvsroot/linuxconsole/ruby/linux/drivers/video
In directory usw-pr-cvs1:/tmp/cvs-serv29884
Modified Files:
vgacon.c
Log Message:
Aivils found the bug that prevented me from using non default fonts with vgacon. Yeah:-)
Index: vgacon.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/video/vgacon.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- vgacon.c 2001/12/23 00:04:18 1.60
+++ vgacon.c 2002/01/30 17:25:03 1.61
@@ -487,6 +487,8 @@
}
vgacon_state.mode = MODE_TEXT;
+ vt->data_hook = (void *) &vgacon_state;
+
if (init) {
/* Use default font */
if (vga_512_chars)
@@ -535,7 +537,6 @@
/* This maybe be suboptimal but is a safe bet - go with it */
vc->vc_scan_lines = vc->vc_font.height * vc->vc_rows;
vc->vc_scrollback = 1;
- vt->data_hook = &vgacon_state;
return display_desc;
}
|