From: Michael Elkins Date: Mon, 23 Apr 2007 19:12:29 +0000 (-0700) Subject: Fix compilation error related to change in mutt_FormatString() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd3d429b30c23ccd6accf6190ef6fc1fb0c10631;p=neomutt Fix compilation error related to change in mutt_FormatString() --- diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 718b235ca..1c719a9db 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -2400,6 +2400,7 @@ int smime_gpgme_application_handler (BODY *a, STATE *s) static const char *crypt_entry_fmt (char *dest, size_t destlen, + size_t col, char op, const char *src, const char *prefix, @@ -2604,9 +2605,9 @@ static const char *crypt_entry_fmt (char *dest, } if (optional) - mutt_FormatString (dest, destlen, ifstring, mutt_attach_fmt, data, 0); + mutt_FormatString (dest, destlen, col, ifstring, mutt_attach_fmt, data, 0); else if (flags & M_FORMAT_OPTIONAL) - mutt_FormatString (dest, destlen, elsestring, mutt_attach_fmt, data, 0); + mutt_FormatString (dest, destlen, col, elsestring, mutt_attach_fmt, data, 0); return (src); } @@ -2619,7 +2620,7 @@ static void crypt_entry (char *s, size_t l, MUTTMENU * menu, int num) entry.key = key_table[num]; entry.num = num + 1; - mutt_FormatString (s, l, NONULL (PgpEntryFormat), crypt_entry_fmt, + mutt_FormatString (s, l, 0, NONULL (PgpEntryFormat), crypt_entry_fmt, (unsigned long) &entry, M_FORMAT_ARROWCURSOR); }