| Kernel v2.4.13 /drivers/video/fbcon-cfb32.c |
|---|
 2.4.13
 drivers
 video
 fbcon-cfb32.c
diff -u --recursive --new-file v2.4.12/linux/drivers/video/fbcon-cfb32.c linux/drivers/video/fbcon-cfb32.c
--- v2.4.12/linux/drivers/video/fbcon-cfb32.c Sun Sep 23 11:41:00 2001
+++ linux/drivers/video/fbcon-cfb32.c Mon Oct 15 13:47:13 2001
@@ -164,8 +164,9 @@
u32 eorx, fgx, bgx, *pt;
dest0 = p->screen_base + yy * fontheight(p) * bytes + xx * fontwidth(p) * 4;
- fgx = ((u32 *)p->dispsw_data)[attr_fgcol(p, scr_readw(s))];
- bgx = ((u32 *)p->dispsw_data)[attr_bgcol(p, scr_readw(s))];
+ c = scr_readw(s);
+ fgx = ((u32 *)p->dispsw_data)[attr_fgcol(p, c)];
+ bgx = ((u32 *)p->dispsw_data)[attr_bgcol(p, c)];
eorx = fgx ^ bgx;
while (count--) {
c = scr_readw(s++) & p->charmask;
|