aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-17 12:33:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-17 12:33:13 +0200
commitbbf1aa1eaf6278e23ae75914c8d9b9be4d0e28f5 (patch)
treea9f9b8e5a84f8ebcbc95b73245da5e26bc4c1bdc
parent1118d9b213e4cad56e6f79c1753e0a52defadaa5 (diff)
downloadbusybox-w32-bbf1aa1eaf6278e23ae75914c8d9b9be4d0e28f5.tar.gz
busybox-w32-bbf1aa1eaf6278e23ae75914c8d9b9be4d0e28f5.tar.bz2
busybox-w32-bbf1aa1eaf6278e23ae75914c8d9b9be4d0e28f5.zip
typo fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/lineedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index f7d3ffed8..18664b8c1 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -498,8 +498,8 @@ static void input_backward(unsigned num)
498 /* go to 1st column; go up */ 498 /* go to 1st column; go up */
499 printf("\r" "\033[%uA", lines_up); 499 printf("\r" "\033[%uA", lines_up);
500 /* go to correct column. 500 /* go to correct column.
501 * xtarm, konsole, Linux VT interpret 0 as 1 below! wow. 501 * xterm, konsole, Linux VT interpret 0 as 1 below! wow.
502 * Need to *make sure* we skip it if cmdedit_x == 0 */ 502 * need to *make sure* we skip it if cmdedit_x == 0 */
503 if (cmdedit_x) 503 if (cmdedit_x)
504 printf("\033[%uC", cmdedit_x); 504 printf("\033[%uC", cmdedit_x);
505 } 505 }