From d4f14264ce038fafba8f719d623da0c89db12c74 Mon Sep 17 00:00:00 2001 From: t_jeang Date: Tue, 6 Jan 2009 12:06:00 +0000 Subject: [PATCH] imported patch fbcon-blink --- drivers/video/console/fbcon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h index b9386d16..f4667f31 100644 --- a/drivers/video/console/fbcon.h +++ b/drivers/video/console/fbcon.h @@ -92,9 +92,9 @@ struct fbcon_ops { #define attr_fgcol(fgshift,s) \ (((s) >> (fgshift)) & 0x0f) #define attr_bgcol(bgshift,s) \ - (((s) >> (bgshift)) & 0x0f) + (((s) >> (bgshift)) & 0x07) #define attr_bgcol_ec(bgshift,vc) \ - ((vc) ? (((vc)->vc_video_erase_char >> (bgshift)) & 0x0f) : 0) + ((vc) ? (((vc)->vc_video_erase_char >> (bgshift)) & 0x07) : 0) #define attr_fgcol_ec(fgshift,vc) \ ((vc) ? (((vc)->vc_video_erase_char >> (fgshift)) & 0x0f) : 0) -- 2.39.5