summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2010-09-02 12:44:39 +0200
committerDenys Vlasenko2010-09-02 12:44:39 +0200
commit7063e86d0d6e0be7f8eed4f7b435a7be3f26ecdd (patch)
treec1ff0d9ff1950eb99c1322b1e0c09282d455e007
parent61a36af45d9342b65d16a3d29818cf4c70ec992d (diff)
downloadbusybox-7063e86d0d6e0be7f8eed4f7b435a7be3f26ecdd.zip
busybox-7063e86d0d6e0be7f8eed4f7b435a7be3f26ecdd.tar.gz
lineedit: small readability improvement (same code)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 381203a..35f1d00 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -736,7 +736,7 @@ static void exe_n_cwd_tab_completion(char *command, int type)
if (dirbuf[0] == '~') /* ~/... or ~user/... */
dirbuf = username_path_completion(dirbuf);
#endif
- paths[0] = dirbuf;
+ path1[0] = dirbuf;
}
for (i = 0; i < npaths; i++) {