rework m_strformat so that it takes the cols number to use in case of
[apps/madmutt.git] / lib-crypt / pgpinvoke.c
index 6a6dd02..7b0b95a 100644 (file)
@@ -108,7 +108,7 @@ _mutt_fmt_pgp_command(char *dest, ssize_t destlen,
   }
 
   if (flags & M_FORMAT_OPTIONAL)
-    m_strformat(dest, destlen, optional ? ifstr : elstr,
+    m_strformat(dest, destlen, 0, optional ? ifstr : elstr,
                 _mutt_fmt_pgp_command, data, 0);
 
   return src;
@@ -118,7 +118,7 @@ static void
 mutt_pgp_command(char *d, ssize_t dlen, struct pgp_command_context *cctx,
                  const char *fmt)
 {
-    m_strformat(d, dlen, fmt, _mutt_fmt_pgp_command, cctx, 0);
+    m_strformat(d, dlen, 0, fmt, _mutt_fmt_pgp_command, cctx, 0);
 }
 
 /*