dmenu

my build of dynamic menu
git clone git://git.kocotian.pl/dmenu.git
Log | Files | Refs | README | LICENSE

commit 2103ae289197037dbce41d9c0284d08dd8aa6876
parent b028ec0e0766f85eaccda09a52b93948c8d262ff
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Wed, 18 May 2011 17:01:44 +0100

bugfix
Diffstat:
Mconfig.mk | 2+-
Mdmenu.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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