X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=inline;f=curs_main.c;h=3fd4641457004761dee05f719ac5a04ca5d2f813;hb=a8477ebaa09990b3688164cbe5cf661c4189541d;hp=42943c57dba1b2580320cfa58536550cf9152eb4;hpb=0509754ed2749193e9e99a1898bdf370bd1d2339;p=apps%2Fmadmutt.git diff --git a/curs_main.c b/curs_main.c index 42943c5..3fd4641 100644 --- a/curs_main.c +++ b/curs_main.c @@ -557,8 +557,10 @@ int mutt_index_menu (void) DrawFullLine = 0; CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES - 2); SETCOLOR (MT_COLOR_STATUS); + BKGDSET (MT_COLOR_STATUS); mutt_paddstr (COLS, buf); SETCOLOR (MT_COLOR_NORMAL); + BKGDSET (MT_COLOR_NORMAL); sidebar_set_buffystats (Context); menu->redraw &= ~REDRAW_STATUS; if (option (OPTXTERMSETTITLES)) { @@ -955,7 +957,7 @@ int mutt_index_menu (void) unset_option (OPTHIDEREAD); } FREE (&Context->pattern); - Context->pattern = safe_strdup (buf); + Context->pattern = str_dup (buf); } if ((op == OP_TOGGLE_READ && mutt_pattern_func (M_LIMIT, NULL) == 0) || mutt_pattern_func (M_LIMIT, _("Limit to messages matching: ")) == 0) @@ -1298,10 +1300,6 @@ int mutt_index_menu (void) if (option (OPTPGPAUTODEC) && (tag || !(CURHDR->security & PGP_TRADITIONAL_CHECKED))) mutt_check_traditional_pgp (tag ? NULL : CURHDR, &menu->redraw); - if ((op = mutt_display_message (CURHDR)) == -1) { - unset_option (OPTNEEDRESORT); - break; - } if ((op = mutt_display_message (CURHDR)) == -1) { unset_option (OPTNEEDRESORT); @@ -2167,7 +2165,7 @@ int mutt_index_menu (void) sleep (2); } else if (op != OP_FOLLOWUP || !CURHDR->env->followup_to || - safe_strcasecmp (CURHDR->env->followup_to, "poster") || + str_casecmp (CURHDR->env->followup_to, "poster") || query_quadoption (OPT_FOLLOWUPTOPOSTER, _("Reply by mail as poster prefers?")) != M_YES) {