From: Denys Vlasenko Date: Thu, 2 Sep 2010 10:44:39 +0000 (+0200) Subject: lineedit: small readability improvement (same code) X-Git-Tag: 1_18_0~282 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7063e86d0d6e0be7f8eed4f7b435a7be3f26ecdd;p=oweals%2Fbusybox.git lineedit: small readability improvement (same code) Signed-off-by: Denys Vlasenko --- diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 381203a22..35f1d0031 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++) {