diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 095ccfb..0563e6d 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -1412,6 +1412,7 @@ static void save_history(char *str) * load them */ st_temp = new_line_input_t(state->flags); st_temp->hist_file = state->hist_file; + st_temp->max_history = state->max_history; load_history(st_temp); /* write out temp file and replace hist_file atomically */ |