diff options
Diffstat (limited to 'drivers/video/console/bitblit.c')
-rw-r--r-- | drivers/video/console/bitblit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/bitblit.c b/drivers/video/console/bitblit.c index 3c731577fed6..12eaf0aa87e6 100644 --- 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) | |||
39 | { | 39 | { |
40 | int attribute = 0; | 40 | int attribute = 0; |
41 | 41 | ||
42 | if (fb_get_color_depth(&info->var) == 1) { | 42 | if (fb_get_color_depth(&info->var, &info->fix) == 1) { |
43 | if (attr_underline(c)) | 43 | if (attr_underline(c)) |
44 | attribute |= FBCON_ATTRIBUTE_UNDERLINE; | 44 | attribute |= FBCON_ATTRIBUTE_UNDERLINE; |
45 | if (attr_reverse(c)) | 45 | if (attr_reverse(c)) |