projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lcd_putc bug fix for tab.
[platform/kernel/u-boot.git]
/
common
/
lcd.c
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) {