Fix compilation error related to change in mutt_FormatString()
authorMichael Elkins <me@sigpipe.org>
Mon, 23 Apr 2007 19:12:29 +0000 (12:12 -0700)
committerMichael Elkins <me@sigpipe.org>
Mon, 23 Apr 2007 19:12:29 +0000 (12:12 -0700)
crypt-gpgme.c

index 718b235ca1a192c05edb71b45cdb87ca8761c026..1c719a9dbd208df9be796691f48c964dc6994240 100644 (file)
@@ -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);
 }