X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_main.c;h=fe652871df619cca568994628b1655da2d321f75;hp=d367b398a0e5265de89e8cd4371c49d9cc08ca20;hb=9342efc81d163ea56e079b4adf2ce17c41c853b0;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b diff --git a/curs_main.c b/curs_main.c index d367b39..fe65287 100644 --- a/curs_main.c +++ b/curs_main.c @@ -15,6 +15,7 @@ #endif #include +#include #include #include "mutt.h" @@ -48,7 +49,6 @@ #include "mutt_sasl.h" #endif -#include "lib/str.h" #include "lib/debug.h" #include @@ -966,7 +966,7 @@ int mutt_index_menu (void) unset_option (OPTHIDEREAD); } p_delete(&Context->pattern); - Context->pattern = str_dup (buf); + Context->pattern = m_strdup(buf); } if ((op == OP_TOGGLE_READ && mutt_pattern_func (M_LIMIT, NULL) == 0) || mutt_pattern_func (M_LIMIT, _("Limit to messages matching: ")) == 0)