patch-2.1.112 linux/drivers/video/fbcon-mac.c
Next file: linux/drivers/video/fbcon-mac.h
Previous file: linux/drivers/video/fbcon-iplan2p8.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Jul 26 14:40:19 1998
-  Orig file: 
v2.1.111/linux/drivers/video/fbcon-mac.c
-  Orig date: 
Sun Jul 26 11:57:17 1998
diff -u --recursive --new-file v2.1.111/linux/drivers/video/fbcon-mac.c linux/drivers/video/fbcon-mac.c
@@ -272,7 +272,7 @@
    u8 d;
    int j;
 
-   cdat = p->fontdata+(c&0xff)*p->fontheight;
+   cdat = p->fontdata+(c&p->charmask)*p->fontheight;
    bold = attr_bold(p,c);
    ch_reverse = attr_reverse(p,c);
    ch_underline = attr_underline(p,c);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov