diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 17:21:26 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 17:21:26 +0000 |
commit | 84641942e5366b2e09367ba4f4376c99f15ecc8e (patch) | |
tree | eff2511dcc6cb647e0bf898903f86c94b85466ad /libbb/lineedit.c | |
parent | bacaff6e5474d6c5f080ce4cd2a55e8ff1ba5c94 (diff) | |
download | busybox-w32-84641942e5366b2e09367ba4f4376c99f15ecc8e.tar.gz busybox-w32-84641942e5366b2e09367ba4f4376c99f15ecc8e.tar.bz2 busybox-w32-84641942e5366b2e09367ba4f4376c99f15ecc8e.zip |
apply post-1.12.1 patches, bump version to 1.12.21_12_2
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index c2c3ea996..1f21866ca 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1415,7 +1415,8 @@ int FAST_FUNC read_line_input(const char *prompt, char *command, int maxsize, li | |||
1415 | if ((state->flags & SAVE_HISTORY) && state->hist_file) | 1415 | if ((state->flags & SAVE_HISTORY) && state->hist_file) |
1416 | load_history(state->hist_file); | 1416 | load_history(state->hist_file); |
1417 | #endif | 1417 | #endif |
1418 | state->cur_history = state->cnt_history; | 1418 | if (state->flags & DO_HISTORY) |
1419 | state->cur_history = state->cnt_history; | ||
1419 | 1420 | ||
1420 | /* prepare before init handlers */ | 1421 | /* prepare before init handlers */ |
1421 | cmdedit_y = 0; /* quasireal y, not true if line > xt*yt */ | 1422 | cmdedit_y = 0; /* quasireal y, not true if line > xt*yt */ |