]> granicus.if.org Git - neomutt/commitdiff
fix history menu
authorRichard Russon <rich@flatcap.org>
Tue, 15 May 2018 15:24:32 +0000 (16:24 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 15 May 2018 15:29:45 +0000 (16:29 +0100)
history.c

index 911ebed70b768f6d0c7a3eae8d5f331efa0d8bab..306d9890b140ad4a9d13f88ba4703efb761367e7 100644 (file)
--- a/history.c
+++ b/history.c
@@ -463,7 +463,7 @@ static void history_entry(char *buf, size_t buflen, struct Menu *menu, int num)
 {
   char *entry = ((char **) menu->data)[num];
 
-  mutt_expando_format(buf, buflen, 0, MuttIndexWindow->cols, "%buf", history_format_str,
+  mutt_expando_format(buf, buflen, 0, MuttIndexWindow->cols, "%s", history_format_str,
                       (unsigned long) entry, MUTT_FORMAT_ARROWCURSOR);
 }