forked from github/server
stop spamming the log when using a listbox.
This commit is contained in:
parent
6a75b20315
commit
3a64a2f404
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue