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
-  Lines: 9
 -  Date:
Thu Feb 25 10:02:12 1999
 -  Orig file: 
v2.2.2/linux/drivers/video/mdacon.c
 -  Orig date: 
Wed Jan 13 15:00:43 1999
 
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)