patch-2.2.3 linux/drivers/video/fbcon-iplan2p4.c
Next file: linux/drivers/video/fbcon-iplan2p8.c
Previous file: linux/drivers/video/fbcon-iplan2p2.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Feb 25 10:02:12 1999
- Orig file:
v2.2.2/linux/drivers/video/fbcon-iplan2p4.c
- Orig date:
Wed Jan 20 23:14:06 1999
diff -u --recursive --new-file v2.2.2/linux/drivers/video/fbcon-iplan2p4.c linux/drivers/video/fbcon-iplan2p4.c
@@ -371,8 +371,8 @@
else
dest0 = (p->screen_base + yy * bytes * fontheight(p) +
(xx>>1)*8 + (xx & 1));
- fgx = expand4l(attr_fgcol(p,*s));
- bgx = expand4l(attr_bgcol(p,*s));
+ fgx = expand4l(attr_fgcol(p,scr_readw(s)));
+ bgx = expand4l(attr_bgcol(p,scr_readw(s)));
eorx = fgx ^ bgx;
while (count--) {
@@ -383,7 +383,7 @@
* cache :-(
*/
- 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)