git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] fbdev: Fix greater than 1 bit monochrome color handling
[safe/jmp/linux-2.6]
/
drivers
/
video
/
console
/
bitblit.c
diff --git
a/drivers/video/console/bitblit.c
b/drivers/video/console/bitblit.c
index
3c73157
..
12eaf0a
100644
(file)
--- a/
drivers/video/console/bitblit.c
+++ b/
drivers/video/console/bitblit.c
@@
-39,7
+39,7
@@
static inline int get_attribute(struct fb_info *info, u16 c)
{
int attribute = 0;
- if (fb_get_color_depth(&info->var) == 1) {
+ if (fb_get_color_depth(&info->var
, &info->fix
) == 1) {
if (attr_underline(c))
attribute |= FBCON_ATTRIBUTE_UNDERLINE;
if (attr_reverse(c))