pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e30271
)
limit lines to input
author
Connor Lane Smith
<cls@lubutu.com>
Thu, 13 Oct 2011 19:43:59 +0000
(20:43 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Thu, 13 Oct 2011 19:43:59 +0000
(20:43 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
5d11932
..
f105b56
100644
(file)
--- 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