projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a36af
)
lineedit: small readability improvement (same code)
author
Denys Vlasenko
<dvlasenk@redhat.com>
Thu, 2 Sep 2010 10:44:39 +0000
(12:44 +0200)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Thu, 2 Sep 2010 10:44:39 +0000
(12:44 +0200)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
libbb/lineedit.c
patch
|
blob
|
history
diff --git
a/libbb/lineedit.c
b/libbb/lineedit.c
index
381203a
..
35f1d00
100644
(file)
--- 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
- path
s
[0] = dirbuf;
+ path
1
[0] = dirbuf;
}
for (i = 0; i < npaths; i++) {