commit | 6bcb4b806cef8a5dd08fac9a4a672b96d9ee804e | [log] [tgz] |
---|---|---|
author | Derek Ou <dou@siconix.com> | Tue Feb 03 16:00:07 2009 -0700 |
committer | Wolfgang Denk <wd@denx.de> | Sat Feb 21 22:26:55 2009 +0100 |
tree | 3d68ae7643c6c5452b48cf93c0a5ca66e1774a5c | |
parent | 35c9e14d8096e519fe76c953a43d52a09617345c [diff] [blame] |
lcd_putc bug fix for tab. Signed-off-by: Derek Ou <dou@siconix.com>
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 @@ return; case '\t': /* Tab (8 chars alignment) */ - console_col |= 8; + console_col += 8; console_col &= ~7; if (console_col >= CONSOLE_COLS) {