projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c9e14
)
lcd_putc bug fix for tab.
author
Derek Ou
<dou@siconix.com>
Tue, 3 Feb 2009 23:00:07 +0000
(16:00 -0700)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 21 Feb 2009 21:26:55 +0000
(22:26 +0100)
Signed-off-by: Derek Ou <dou@siconix.com>
common/lcd.c
patch
|
blob
|
history
diff --git
a/common/lcd.c
b/common/lcd.c
index
5f73247
..
2bcdba2
100644
(file)
--- 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) {