This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dmenu
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: Do not crash on e.g. dmenu < /dev/null
master
S. Gilles
8 years ago
committed by
Hiltjo Posthuma
parent
44c7de3dcf
commit
76eb578304
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dmenu.c
+ 1
- 1
dmenu.c
View File
@ -480,7 +480,7 @@ readstdin(void)
}
if
(
items
)
items
[
i
]
.
text
=
NULL
;
inputw
=
TEXTW
(
items
[
imax
]
.
text
)
;
inputw
=
items
?
TEXTW
(
items
[
imax
]
.
text
)
:
0
;
lines
=
MIN
(
lines
,
i
)
;
}
Write
Preview
Loading…
Cancel
Save