+
+ snprintf (title, sizeof (title), _("Signature : %s"), file);
+
-+ menu = mutt_new_menu ();
++ menu = mutt_new_menu (MENU_SIG);
+ menu->make_entry = sig_make_entry;
+ menu->tag = NULL;
+ menu->search = sig_menu_search;
-+ menu->menu = MENU_SIG;
+ menu->title = title;
+ menu->help = mutt_compile_help (helpstr, sizeof (helpstr),
+ MENU_SIG, SigHelp);
+ return result;
+}
+
++extern char* SearchBuffers[MENU_MAX];
++
+static SIG_LIST *sig_search_filter (MUTTMENU *menu, char *path)
+{
+ regex_t re;
+
+ snprintf (title, sizeof (title), "Signature directory : %s", path);
+
-+ menu = mutt_new_menu ();
++ menu = mutt_new_menu (MENU_SIG_DIR);
+ menu->make_entry = sig_dir_make_entry;
+ menu->search = NULL; /* search within files with sig_search_filter() */
+ menu->tag = sig_dir_tag;
-+ menu->menu = MENU_SIG_DIR;
+ menu->title = title;
+ menu->help = mutt_compile_help (helpstr, sizeof (helpstr),
+ MENU_SIG_DIR, SigDirHelp);
+++ mutt-1.3.27/PATCHES Thu Dec 6 16:27:55 2001
@@ -1,0 +1 @@
+patch-1.3.27.cd.signatures_menu.2.1
+diff --git a/menu.c b/menu.c
+--- a/menu.c
++++ b/menu.c
+@@ -642,7 +640,7 @@
+ mutt_error _("No entries.");
+ }
+
+-static void menu_next_entry (MUTTMENU *menu)
++void menu_next_entry (MUTTMENU *menu)
+ {
+ if (menu->current < menu->max - 1)
+ {
+@@ -653,7 +651,7 @@
+ mutt_error _("You are on the last entry.");
+ }
+
+-static void menu_prev_entry (MUTTMENU *menu)
++void menu_prev_entry (MUTTMENU *menu)
+ {
+ if (menu->current)
+ {