patch-2.4.13 linux/drivers/video/fbcon-afb.c
Next file: linux/drivers/video/fbcon-cfb16.c
Previous file: linux/drivers/video/dn_cfb8.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Mon Oct 15 13:47:13 2001
-  Orig file: 
v2.4.12/linux/drivers/video/fbcon-afb.c
-  Orig date: 
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/video/fbcon-afb.c linux/drivers/video/fbcon-afb.c
@@ -290,8 +290,9 @@
     int fg0, bg0, fg, bg;
 
     dest0 = p->screen_base+yy*fontheight(p)*p->next_line+xx;
-    fg0 = attr_fgcol(p, scr_readw(s));
-    bg0 = attr_bgcol(p, scr_readw(s));
+    c1 = scr_readw(s);
+    fg0 = attr_fgcol(p, c1);
+    bg0 = attr_bgcol(p, c1);
 
     while (count--)
 	if (xx&3 || count < 3) {	/* Slow version */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)