diff options
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | dmenu.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ # dmenu version -VERSION = 4.3 +VERSION = 4.3.1 # paths PREFIX = /usr/local @@ -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 |