summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDerek Ou <dou@siconix.com>2009-02-03 16:00:07 -0700
committerWolfgang Denk <wd@denx.de>2009-02-21 22:26:55 +0100
commit6bcb4b806cef8a5dd08fac9a4a672b96d9ee804e (patch)
tree3d68ae7643c6c5452b48cf93c0a5ca66e1774a5c /common
parent35c9e14d8096e519fe76c953a43d52a09617345c (diff)
lcd_putc bug fix for tab.
Signed-off-by: Derek Ou <dou@siconix.com>
Diffstat (limited to 'common')
-rw-r--r--common/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lcd.c b/common/lcd.c
index 5f73247f42c..2bcdba22577 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) {