X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pattern.c;h=40600b6ae8724f7b641550cddaf1d5dbb190ad0f;hb=c8b8b9539aaf11b48c4c1e5baba434db09722111;hp=26b8375ff05f28b3dc226e37448f3c0f9c92211e;hpb=230399f9632c37b66c1c117a17e8327eae6b3235;p=apps%2Fmadmutt.git diff --git a/pattern.c b/pattern.c index 26b8375..40600b6 100644 --- a/pattern.c +++ b/pattern.c @@ -7,28 +7,16 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include -#include - #include #include - #include #include +#include #include "mutt.h" #include "alias.h" #include "handler.h" -#include "mx.h" #include "keymap.h" #include "copy.h" @@ -1153,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); - mutt_expand_fmt (s, len, simple, tmp); + m_snsubst(s, len, simple, tmp); } } }