aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-05-18 17:01:44 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-05-18 17:01:44 +0100
commit2103ae289197037dbce41d9c0284d08dd8aa6876 (patch)
tree63e71339aa0dc1bdfcacb141fd49e69dec6eabfe
parentb028ec0e0766f85eaccda09a52b93948c8d262ff (diff)
downloaddmenu-4.3.1.tar.gz
dmenu-4.3.1.tar.bz2
dmenu-4.3.1.zip
bugfix4.3.1
-rw-r--r--config.mk2
-rw-r--r--dmenu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 03f1670..70c9e36 100644
--- 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 da62705..8acf057 100644
--- 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