index
:
dmenu
master
dynamic menu
System administrator
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
dmenu.c
1
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) {
if(items)
items[i].text = NULL;
inputw = maxstr ? textw(dc, maxstr) : 0;
+ lines = MIN(lines, i);
}
void