From: Derek Ou Date: Tue, 3 Feb 2009 16:00:07 -0700 Subject: [U-Boot] [PATCH] lcd_putc bug fix for tab. In-Reply-To: <> References: <> Message-ID: <1233702007-18937-1-git-send-email-dou@siconix.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Derek Ou --- common/lcd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 5f73247..2bcdba2 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) { -- 1.5.4.3