Remove lots of useless stupid, and code greedy options.
[apps/madmutt.git] / main.c
diff --git a/main.c b/main.c
index 835f5f7..4d322dc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -583,10 +583,9 @@ int main (int argc, char **argv)
 
     mutt_folder_hook (folder);
 
 
     mutt_folder_hook (folder);
 
-    if ((Context = mx_open_mailbox (folder, ((flags & M_RO)
-                                             || option (OPTREADONLY)) ?
-                                    M_READONLY : 0, NULL))
-        || !explicit_folder) {
+    if ((Context = mx_open_mailbox(folder, (flags & M_RO) ?  M_READONLY : 0,
+                                   NULL)) || !explicit_folder)
+    {
       mutt_index_menu ();
       if (option (OPTXTERMSETTITLES))
         printf("\033]2;%s\007", NONULL(XtermLeave));
       mutt_index_menu ();
       if (option (OPTXTERMSETTITLES))
         printf("\033]2;%s\007", NONULL(XtermLeave));