aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmenu.c b/dmenu.c
index 5d11932..f105b56 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -454,6 +454,7 @@ readstdin(void) {
454 if(items) 454 if(items)
455 items[i].text = NULL; 455 items[i].text = NULL;
456 inputw = maxstr ? textw(dc, maxstr) : 0; 456 inputw = maxstr ? textw(dc, maxstr) : 0;
457 lines = MIN(lines, i);
457} 458}
458 459
459void 460void