From 73a07215cc705ddbfdda5f324de43d66bd94e5bd Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Mon, 18 Jul 2016 12:44:34 +0200 Subject: [PATCH] debug: remove duplicate information --- src/winio.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/winio.c b/src/winio.c index c5e5cce0..b0fbd245 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1637,21 +1637,22 @@ const sc *get_shortcut(int *kbinput) sc *s; #ifdef DEBUG - fprintf(stderr, "get_shortcut(): kbinput = %d, meta_key = %s -- ", *kbinput, meta_key ? "TRUE" : "FALSE"); + fprintf(stderr, "get_shortcut(): kbinput = %d, meta_key = %s -- ", + *kbinput, meta_key ? "TRUE" : "FALSE"); #endif for (s = sclist; s != NULL; s = s->next) { if ((s->menus & currmenu) && *kbinput == s->seq && meta_key == (s->type == META)) { #ifdef DEBUG - fprintf (stderr, "matched seq \"%s\", and btw meta was %d (menu is %x from %x)\n", - s->keystr, meta_key, currmenu, s->menus); + fprintf (stderr, "matched seq '%s' (menu is %x from %x)\n", + s->keystr, currmenu, s->menus); #endif return s; } } #ifdef DEBUG - fprintf (stderr, "matched nothing, btw meta was %d\n", meta_key); + fprintf (stderr, "matched nothing\n"); #endif return NULL; -- GitLab