projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b028ec0
)
bugfix
author
Connor Lane Smith
<cls@lubutu.com>
Wed, 18 May 2011 16:01:44 +0000
(17:01 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Wed, 18 May 2011 16:01:44 +0000
(17:01 +0100)
config.mk
patch
|
blob
|
history
dmenu.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index 03f1670d5757eec4a041180a0cef061c409a9a07..70c9e36756d3e710ab2a21bb55b5a87560dae711 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dmenu version
-VERSION = 4.3
+VERSION = 4.3
.1
# paths
PREFIX = /usr/local
diff --git
a/dmenu.c
b/dmenu.c
index da6270583fa31765817228279ad7aea3e65ae71e..8acf057d14dd544d3f0daab24ca987cd810a9996 100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-219,7
+219,7
@@
insert(const char *str, ssize_t n) {
if(n > 0)
memcpy(&text[cursor], str, n);
cursor += n;
- match(n > 0);
+ match(n > 0
&& text[cursor] == '\0'
);
}
void