mutt_FormatString -> m_strformat (will soon end up into the str lib \o/)
[apps/madmutt.git] / remailer.c
index 7d1dceb..40f5bba 100644 (file)
@@ -388,9 +388,9 @@ static const char *mix_entry_fmt (char *dest,
     }
 
     if (optional)
-        mutt_FormatString (dest, destlen, ifstring, mutt_attach_fmt, data, 0);
+        m_strformat (dest, destlen, ifstring, mutt_attach_fmt, data, 0);
     else if (flags & M_FORMAT_OPTIONAL)
-        mutt_FormatString (dest, destlen, elsestring, mutt_attach_fmt, data, 0);
+        m_strformat (dest, destlen, elsestring, mutt_attach_fmt, data, 0);
     return (src);
 }
 
@@ -401,7 +401,7 @@ static void mix_entry (char *b, ssize_t blen, MUTTMENU * menu, int num)
     remailer_t **type2_list = (remailer_t **) menu->data;
     int w = (COLS-SW) > blen ? blen : (COLS-SW);
 
-    mutt_FormatString (b, w, NONULL (MixEntryFormat), mix_entry_fmt,
+    m_strformat (b, w, NONULL (MixEntryFormat), mix_entry_fmt,
                        (unsigned long) type2_list[num], M_FORMAT_ARROWCURSOR);
 }