stop spamming the log when using a listbox.

This commit is contained in:
Enno Rehling 2016-11-16 23:09:07 +01:00
parent 6a75b20315
commit 3a64a2f404

View file

@ -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);