diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-13 06:58:38 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-13 06:58:38 +0000 |
commit | a48b3da3ca09fa6a03a441b72e67622c3835a5e5 (patch) | |
tree | edb13ef81f7f9d0fd074b31627b48705429f6408 | |
parent | 692ae4ae58048c2907fa3f0b70775a5f713d6f2c (diff) |
Bumping some dprint statements' debug levels. From Vikas.
-rw-r--r-- | curs_main.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/curs_main.c b/curs_main.c index 39310447..e4f73156 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); |