Browse Source

limit lines to input

master
Connor Lane Smith 13 years ago
parent
commit
1cf3864464
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      dmenu.c

+ 1
- 0
dmenu.c View File

@ -454,6 +454,7 @@ readstdin(void) {
if(items) if(items)
items[i].text = NULL; items[i].text = NULL;
inputw = maxstr ? textw(dc, maxstr) : 0; inputw = maxstr ? textw(dc, maxstr) : 0;
lines = MIN(lines, i);
} }
void void


Loading…
Cancel
Save