diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-08 10:43:17 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-08 10:43:17 +0000 |
commit | fba8e9b768473a6db68a865f6a12127d1ad40cb4 (patch) | |
tree | d21e351cdb0a5a4b8f1242986b782534d50e22a0 /history.c | |
parent | eff7a49e01d838a0e3a45b0122ad291201a623ac (diff) |
Don't clear the history when "set history=..." doesn't change the
buffer size.
Diffstat (limited to 'history.c')
-rw-r--r-- | history.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ void mutt_init_history(void) { history_class_t hclass; + if (HistSize == OldSize) + return; + for(hclass = HC_FIRST; hclass < HC_LAST; hclass++) init_history(&History[hclass]); |