patch-2.4.23 linux-2.4.23/drivers/video/fbcmap.c
Next file: linux-2.4.23/drivers/video/q40fb.c
Previous file: linux-2.4.23/drivers/video/aty128fb.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/drivers/video/fbcmap.c
- Orig date:
2001-03-02 18:38:39.000000000 -0800
diff -urN linux-2.4.22/drivers/video/fbcmap.c linux-2.4.23/drivers/video/fbcmap.c
@@ -271,7 +271,7 @@
hred = *red;
hgreen = *green;
hblue = *blue;
- htransp = transp ? *transp : 0;
+ htransp = transp ? *transp : 0xffff;
} else {
get_user(hred, red);
get_user(hgreen, green);
@@ -279,7 +279,7 @@
if (transp)
get_user(htransp, transp);
else
- htransp = 0;
+ htransp = 0xffff;
}
red++;
green++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)