diff options
author | Rocco Rutte <pdmef@gmx.net> | 2008-11-30 20:28:53 +0100 |
---|---|---|
committer | Rocco Rutte <pdmef@gmx.net> | 2008-11-30 20:28:53 +0100 |
commit | 30541be34d3c54bb9b860aca01414d4c2a38cc4d (patch) | |
tree | 2e74abae5d3dae0c5d0f9b0ceb4d48b31fb78f53 /mutt_ssl.c | |
parent | a4eebaaf393239407ba65ce984fba4dc41e4410e (diff) |
Manage last search pattern outside of menu lifecycle
Previously, the pattern was thrown away during menu destruction.
For the next search, mutt then can't provide a good suggestion.
The new behaviour is to manage the pattern outside the lifecyle
to always provide the last pattern as suggestion.
Diffstat (limited to 'mutt_ssl.c')
-rw-r--r-- | mutt_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -761,7 +761,7 @@ static int ssl_check_certificate (CONNECTION *conn, sslsockdata * data) } /* interactive check from user */ - menu = mutt_new_menu (); + menu = mutt_new_menu (-1); menu->max = 19; menu->dialog = (char **) safe_calloc (1, menu->max * sizeof (char *)); for (i = 0; i < menu->max; i++) |