diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-05-18 17:01:44 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-05-18 17:01:44 +0100 |
commit | 2103ae289197037dbce41d9c0284d08dd8aa6876 (patch) | |
tree | 63e71339aa0dc1bdfcacb141fd49e69dec6eabfe | |
parent | b028ec0e0766f85eaccda09a52b93948c8d262ff (diff) |
bugfix
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | dmenu.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | # dmenu version | 1 | # dmenu version |
2 | VERSION = 4.3 | 2 | VERSION = 4.3.1 |
3 | 3 | ||
4 | # paths | 4 | # paths |
5 | PREFIX = /usr/local | 5 | PREFIX = /usr/local |
@@ -219,7 +219,7 @@ insert(const char *str, ssize_t n) { | |||
219 | if(n > 0) | 219 | if(n > 0) |
220 | memcpy(&text[cursor], str, n); | 220 | memcpy(&text[cursor], str, n); |
221 | cursor += n; | 221 | cursor += n; |
222 | match(n > 0); | 222 | match(n > 0 && text[cursor] == '\0'); |
223 | } | 223 | } |
224 | 224 | ||
225 | void | 225 | void |