X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=600932a520aebab3d84b9174d620f8e570007536;hp=246f240fc41788243c43e6f03617bca2c080999c;hb=cc707c1e986b60f2c1c1932d0789038d465a7a59;hpb=066efd5f9515b763908dd2f761c4d6bcb86faa4e diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 246f240..600932a 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -479,7 +479,7 @@ int mutt_index_menu (void) sidebar_draw (); mutt_message (_("New mail in this mailbox.")); - if (option (OPTBEEPNEW)) + if (ml_core.beep_new) beep (); } else if (check == M_FLAGS) @@ -506,7 +506,7 @@ int mutt_index_menu (void) menu->redraw |= REDRAW_SIDEBAR; } if (do_buffy_notify) { - if (buffy_notify () && option (OPTBEEPNEW)) + if (buffy_notify () && ml_core.beep_new) beep (); } else