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 /dmenu.c | |
parent | b028ec0e0766f85eaccda09a52b93948c8d262ff (diff) | |
download | dmenu-2103ae289197037dbce41d9c0284d08dd8aa6876.tar.gz dmenu-2103ae289197037dbce41d9c0284d08dd8aa6876.tar.bz2 dmenu-2103ae289197037dbce41d9c0284d08dd8aa6876.zip |
bugfix
Diffstat (limited to 'dmenu.c')
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |