]> granicus.if.org Git - neomutt/commitdiff
Bumping some dprint statements' debug levels. From Vikas.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 13 Oct 1998 06:58:38 +0000 (06:58 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 13 Oct 1998 06:58:38 +0000 (06:58 +0000)
curs_main.c

index 39310447c7c0bd4da752f049e95aeb2b03c9b9c5..e4f7315632c967e30342dd1c89fabb254cce84d7 100644 (file)
@@ -476,27 +476,22 @@ int mutt_index_menu (void)
       {
        timeout (Timeout * 1000); /* milliseconds */      
        event = mutt_getch ();
-       dprint(1, (debugfile, "mutt_index_menu[%d]: Got event (%d, %d)\n", __LINE__,
+       dprint(4, (debugfile, "mutt_index_menu[%d]: Got event (%d, %d)\n", __LINE__,
                   event.ch, event.op));
        timeout (-1); /* restore blocking operation */
-       if (event.ch != -1)
+       op = event.ch;
+       if (op != -1)
        {
-         dprint(1, (debugfile, "mutt_index_menu[%d]: Pushing event (%d, %d)\n", __LINE__,
+         dprint(4, (debugfile, "mutt_index_menu[%d]: Pushing event (%d, %d)\n", __LINE__,
                     event.ch, event.op));
          mutt_ungetch (event.ch, event.op);
          op = km_dokey (MENU_MAIN);
-         dprint(1, (debugfile, "mutt_index_menu[%d]: Got op %d\n", __LINE__,
-                    op));
        }
-       else
-         op = -1;
       }
       else
-      {
        op = km_dokey (MENU_MAIN);
-       dprint(1, (debugfile, "mutt_index_menu[%d]: Got op %d\n", __LINE__,
-                  op));
-      }
+
+      dprint(4, (debugfile, "mutt_index_menu[%d]: Got op %d\n", __LINE__, op));
 
       mutt_curs_set (1);