put old m_snsubst into file.c as m_file_fmt.
[apps/madmutt.git] / pattern.c
index 40600b6..3233a92 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -1141,7 +1141,7 @@ void mutt_check_simple (char *s, ssize_t len, const char *simple)
       m_strcpy(s, len, "~U");
     else {
       quote_simple (tmp, sizeof (tmp), s);
-      m_snsubst(s, len, simple, tmp);
+      m_file_fmt(s, len, simple, tmp);
     }
   }
 }