let the caller deal with M_FORMAT_ARROWCURSOR, not the callee.
[apps/madmutt.git] / lib-mx / compress.c
index 52978ac..00064b7 100644 (file)
@@ -171,8 +171,8 @@ static char *get_compression_cmd (const char *cmd, const CONTEXT * ctx)
 {
   char expanded[_POSIX_PATH_MAX];
 
-  mutt_FormatString (expanded, sizeof (expanded), cmd,
-                     compresshook_format_str, (unsigned long) ctx, 0);
+  m_strformat(expanded, sizeof (expanded), cmd, compresshook_format_str,
+              (unsigned long)ctx, 0);
   return m_strdup(expanded);
 }