Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
made code more readable
[dwm.git]
/
menu.c
diff --git
a/menu.c
b/menu.c
index
650fc57
..
e09d3b7
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-304,7
+304,7
@@
kpress(XKeyEvent * e)
}
break;
default:
- if((num == 1) && !iscntrl((int) buf[0])) {
+ if(num && !iscntrl((int) buf[0])) {
buf[num] = 0;
if(len > 0)
strncat(text, buf, sizeof(text));