patch-2.2.3 linux/drivers/video/fbcon-mfb.c
Next file: linux/drivers/video/fbcon-vga.c
Previous file: linux/drivers/video/fbcon-mac.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Thu Feb 25 10:02:12 1999
-  Orig file: 
v2.2.2/linux/drivers/video/fbcon-mfb.c
-  Orig date: 
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.2.2/linux/drivers/video/fbcon-mfb.c linux/drivers/video/fbcon-mfb.c
@@ -117,12 +117,12 @@
     u16 c;
 
     dest0 = p->screen_base+yy*fontheight(p)*p->next_line+xx;
-    bold = attr_bold(p,*s);
-    revs = attr_reverse(p,*s);
-    underl = attr_underline(p,*s);
+    bold = attr_bold(p,scr_readw(s));
+    revs = attr_reverse(p,scr_readw(s));
+    underl = attr_underline(p,scr_readw(s));
 
     while (count--) {
-	c = *s++ & p->charmask;
+	c = scr_readw(s++) & p->charmask;
 	dest = dest0++;
 	cdat = p->fontdata+c*fontheight(p);
 	for (rows = fontheight(p); rows--; dest += p->next_line) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)