From ab61dfa84b4aef505cf40353e46441a9aae4b39d Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 13 Oct 1998 06:58:38 +0000 Subject: [PATCH] Bumping some dprint statements' debug levels. From Vikas. --- curs_main.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/curs_main.c b/curs_main.c index 39310447c..e4f731563 100644 --- a/curs_main.c +++ b/curs_main.c @@ -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); -- 2.40.0