patch-2.2.3 linux/drivers/video/mdacon.c

Next file: linux/drivers/video/newport_con.c
Previous file: linux/drivers/video/matroxfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.2/linux/drivers/video/mdacon.c linux/drivers/video/mdacon.c
@@ -429,7 +429,7 @@
 	u16 *dest = MDA_ADDR(x, y);
 
 	for (; count > 0; count--) {
-		scr_writew(mda_convert_attr(*s++), dest++);
+		scr_writew(mda_convert_attr(scr_readw(s++)), dest++);
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)