summaryrefslogtreecommitdiffstats
path: root/mutt_ssl.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2008-11-30 20:28:53 +0100
committerRocco Rutte <pdmef@gmx.net>2008-11-30 20:28:53 +0100
commit30541be34d3c54bb9b860aca01414d4c2a38cc4d (patch)
tree2e74abae5d3dae0c5d0f9b0ceb4d48b31fb78f53 /mutt_ssl.c
parenta4eebaaf393239407ba65ce984fba4dc41e4410e (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt_ssl.c b/mutt_ssl.c
index c753c541..58d88ef3 100644
--- a/mutt_ssl.c
+++ b/mutt_ssl.c
@@ -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++)