From 3a64a2f4048281e39373b5d2b01c05ef692a871d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 16 Nov 2016 23:09:07 +0100 Subject: [PATCH] stop spamming the log when using a listbox. --- src/listbox.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/listbox.c b/src/listbox.c index 3686cbba1..332041454 100644 --- a/src/listbox.c +++ b/src/listbox.c @@ -88,7 +88,6 @@ list_selection *do_selection(list_selection * sel, const char *title, width = (int)strlen(s->str); } ++height; - log_debug("s %s w %d h %d\n", s->str, width, height); } if (height == 0 || width == 0) return 0; @@ -97,8 +96,6 @@ list_selection *do_selection(list_selection * sel, const char *title, if (height + 2 > SY) height = SY - 2; - log_debug("w %d h %d\n", width, height); - wn = newwin(height + 2, width + 4, (SY - height - 2) / 2, (SX - width - 4) / 2);