patch-2.2.3 linux/drivers/video/fbcon-vga.c
Next file: linux/drivers/video/fbcon.c
Previous file: linux/drivers/video/fbcon-mfb.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Feb 25 10:02:12 1999
- Orig file:
v2.2.2/linux/drivers/video/fbcon-vga.c
- Orig date:
Mon Oct 5 13:13:41 1998
diff -u --recursive --new-file v2.2.2/linux/drivers/video/fbcon-vga.c linux/drivers/video/fbcon-vga.c
@@ -155,11 +155,11 @@
u16 sattr;
if (conp->vc_can_do_color)
while (count--)
- vga_writew(*s++, dst++);
+ vga_writew(scr_readw(s++), dst++);
else {
- sattr = fbcon_vga_attr(p, *s);
+ sattr = fbcon_vga_attr(p, scr_readw(s));
while (count--)
- vga_writew(sattr | ((int) (*s++) & 0xff), dst++);
+ vga_writew(sattr | ((int) (scr_readw(s++)) & 0xff), dst++);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)