diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/console/fbcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 33859934a8e4..c6299e8a041d 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -2518,7 +2518,7 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h, | |||
2518 | c = vc->vc_video_erase_char; | 2518 | c = vc->vc_video_erase_char; |
2519 | vc->vc_video_erase_char = | 2519 | vc->vc_video_erase_char = |
2520 | ((c & 0xfe00) >> 1) | (c & 0xff); | 2520 | ((c & 0xfe00) >> 1) | (c & 0xff); |
2521 | c = vc->vc_def_color; | 2521 | c = vc->vc_scrl_erase_char; |
2522 | vc->vc_scrl_erase_char = | 2522 | vc->vc_scrl_erase_char = |
2523 | ((c & 0xFE00) >> 1) | (c & 0xFF); | 2523 | ((c & 0xFE00) >> 1) | (c & 0xFF); |
2524 | vc->vc_attr >>= 1; | 2524 | vc->vc_attr >>= 1; |
@@ -2551,7 +2551,7 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h, | |||
2551 | if (vc->vc_can_do_color) { | 2551 | if (vc->vc_can_do_color) { |
2552 | vc->vc_video_erase_char = | 2552 | vc->vc_video_erase_char = |
2553 | ((c & 0xff00) << 1) | (c & 0xff); | 2553 | ((c & 0xff00) << 1) | (c & 0xff); |
2554 | c = vc->vc_def_color; | 2554 | c = vc->vc_scrl_erase_char; |
2555 | vc->vc_scrl_erase_char = | 2555 | vc->vc_scrl_erase_char = |
2556 | ((c & 0xFF00) << 1) | (c & 0xFF); | 2556 | ((c & 0xFF00) << 1) | (c & 0xFF); |
2557 | vc->vc_attr <<= 1; | 2557 | vc->vc_attr <<= 1; |