From: Richard Russon Date: Tue, 15 May 2018 15:24:32 +0000 (+0100) Subject: fix history menu X-Git-Tag: neomutt-20180622~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c455e643ba3ea1e7bcf5ee5a304898f1a74540e;p=neomutt fix history menu --- diff --git a/history.c b/history.c index 911ebed70..306d9890b 100644 --- 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); }