aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
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)
736 if (dirbuf[0] == '~') /* ~/... or ~user/... */ 736 if (dirbuf[0] == '~') /* ~/... or ~user/... */
737 dirbuf = username_path_completion(dirbuf); 737 dirbuf = username_path_completion(dirbuf);
738#endif 738#endif
739 paths[0] = dirbuf; 739 path1[0] = dirbuf;
740 } 740 }
741 741
742 for (i = 0; i < npaths; i++) { 742 for (i = 0; i < npaths; i++) {