patch-2.4.13 linux/drivers/video/fbcon-sti.c
Next file: linux/drivers/video/fbcon-vga-planes.c
Previous file: linux/drivers/video/fbcon-mfb.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Mon Oct 15 13:47:13 2001
-  Orig file: 
v2.4.12/linux/drivers/video/fbcon-sti.c
-  Orig date: 
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/video/fbcon-sti.c linux/drivers/video/fbcon-sti.c
@@ -257,9 +257,10 @@
 		return;
 	}	
 
-	bold = attr_bold(p,scr_readw(s));
-	revs = attr_reverse(p,scr_readw(s));
-	underl = attr_underline(p,scr_readw(s));
+	c = scr_readw(s);
+	bold = attr_bold(p, c);
+	revs = attr_reverse(p, c);
+	underl = attr_underline(p, c);
 
 	while (count--) {
 		c = scr_readw(s++) & p->charmask;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)