Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13 /drivers/video/fbcon-hga.c

Filename:/drivers/video/fbcon-hga.c
Lines Added:4
Lines Deleted:3
Also changed in: (Previous) 2.4.13-pre6  2.4.13-pre5  2.4.13-pre4  2.4.13-pre3  2.4.12-ac6  2.4.12-ac4 
(Following) 2.5.13  2.5.32  2.5.51 

Location
[  2.4.13
  [  drivers
    [  video
       o  fbcon-hga.c

Patch

diff -u --recursive --new-file v2.4.12/linux/drivers/video/fbcon-hga.c linux/drivers/video/fbcon-hga.c
--- v2.4.12/linux/drivers/video/fbcon-hga.c   Sun Sep 23 11:41:00 2001
+++ linux/drivers/video/fbcon-hga.c   Mon Oct 15 13:47:13 2001
@@ -148,9 +148,10 @@
    u8 d;
    u16 c;
    
-   bold = attr_bold(p,scr_readw(s));
-   revs = attr_reverse(p,scr_readw(s));
-   underl = attr_underline(p,scr_readw(s));
+   c = scr_readw(s);
+   bold = attr_bold(p, c);
+   revs = attr_reverse(p, c);
+   underl = attr_underline(p, c);
    y0 = yy*fontheight(p);
 
    while (count--) {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.