From 7063e86d0d6e0be7f8eed4f7b435a7be3f26ecdd Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 2 Sep 2010 12:44:39 +0200 Subject: [PATCH] lineedit: small readability improvement (same code) Signed-off-by: Denys Vlasenko --- libbb/lineedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.25.1