X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_main.c;h=974aa16878638c131f95c578ceaa283b51278de1;hp=f2b6cb26d8beec80bfb1d4d98fc1e374e169745e;hb=b777618bc61046875b5c79c7126f64496c6e5a93;hpb=9c02039bb94c2fb846e0226c321c7dd79df455c4 diff --git a/curs_main.c b/curs_main.c index f2b6cb2..974aa16 100644 --- a/curs_main.c +++ b/curs_main.c @@ -18,7 +18,6 @@ #include "mutt_curses.h" #include "mx.h" #include "mutt_menu.h" -#include "mailbox.h" #include "mapping.h" #include "sort.h" #include "buffy.h" @@ -1246,18 +1245,18 @@ int mutt_index_menu (void) mutt_error (_("%s is not a mailbox."), buf); break; } - mutt_str_replace (&CurrentFolder, buf); + str_replace (&CurrentFolder, buf); if (Context) { int check; #ifdef USE_COMPRESSED if (Context->compressinfo && Context->realpath) - mutt_str_replace (&LastFolder, Context->realpath); + str_replace (&LastFolder, Context->realpath); else #endif - mutt_str_replace (&LastFolder, Context->path); + str_replace (&LastFolder, Context->path); oldcount = Context ? Context->msgcount : 0; if ((check = mx_close_mailbox (Context, &index_hint)) != 0) { @@ -2225,7 +2224,7 @@ CHECK_IMAP_ACL(IMAP_ACL_WRITE); sleep (2); } else if (op != OP_FOLLOWUP || !CURHDR->env->followup_to || - mutt_strcasecmp (CURHDR->env->followup_to, "poster") || + safe_strcasecmp (CURHDR->env->followup_to, "poster") || query_quadoption (OPT_FOLLOWUPTOPOSTER, _("Reply by mail as poster prefers?")) != M_YES) {