patch-2.2.3 linux/drivers/video/fbcon-iplan2p2.c
Next file: linux/drivers/video/fbcon-iplan2p4.c
Previous file: linux/drivers/video/fbcon-ilbm.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Feb 25 10:02:12 1999
- Orig file:
v2.2.2/linux/drivers/video/fbcon-iplan2p2.c
- Orig date:
Wed Jan 20 23:14:06 1999
diff -u --recursive --new-file v2.2.2/linux/drivers/video/fbcon-iplan2p2.c linux/drivers/video/fbcon-iplan2p2.c
@@ -361,12 +361,12 @@
else
dest0 = (p->screen_base + yy * bytes * fontheight(p) +
(xx>>1)*4 + (xx & 1));
- fgx = expand2w(COLOR_2P(attr_fgcol(p,*s)));
- bgx = expand2w(COLOR_2P(attr_bgcol(p,*s)));
+ fgx = expand2w(COLOR_2P(attr_fgcol(p,scr_readw(s))));
+ bgx = expand2w(COLOR_2P(attr_bgcol(p,scr_readw(s))));
eorx = fgx ^ bgx;
while (count--) {
- c = *s++ & p->charmask;
+ c = scr_readw(s++) & p->charmask;
if (fontheightlog(p))
cdat = p->fontdata + (c << fontheightlog(p));
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)