From 6bcb4b806cef8a5dd08fac9a4a672b96d9ee804e Mon Sep 17 00:00:00 2001 From: Derek Ou Date: Tue, 3 Feb 2009 16:00:07 -0700 Subject: [PATCH] lcd_putc bug fix for tab. Signed-off-by: Derek Ou --- common/lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lcd.c b/common/lcd.c index 5f73247f42..2bcdba2257 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -187,7 +187,7 @@ void lcd_putc (const char c) return; case '\t': /* Tab (8 chars alignment) */ - console_col |= 8; + console_col += 8; console_col &= ~7; if (console_col >= CONSOLE_COLS) { -- 2.25.1