X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pattern.c;h=6e213a26a2ce404994f1977242999b14377dc8f4;hp=6bcda216c5310a944baa8c45557ef60d7893f216;hb=f435868132e200bfa71ac155f037cf64bf5414ba;hpb=576172ff50f9dd94dd2f5cc91d247c1e50dbe7fc diff --git a/pattern.c b/pattern.c index 6bcda21..6e213a2 100644 --- a/pattern.c +++ b/pattern.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include @@ -141,7 +141,7 @@ msg_search (CONTEXT *ctx, pattern_t* pat, int msgno) p_clear(&s, 1); s.fpin = msg->fp; s.flags = M_CHARCONV; - s.fpout = m_tempfile(tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL); + s.fpout = m_tempfile(tempfile, sizeof(tempfile), NONULL(mod_core.tmpdir), NULL); if (!s.fpout) { mutt_error(_("Could not create temporary file")); return (0); @@ -1114,7 +1114,7 @@ void mutt_check_simple (char *s, ssize_t len, const char *simple) } } -int mutt_pattern_func (int op, char *prompt) +int mutt_pattern_func (int op, const char *prompt) { pattern_t *pat; char buf[LONG_STRING] = "", *simple, error[STRING];