Browse Source

bugfix

master 4.3.1
Connor Lane Smith 14 years ago
parent
commit
2103ae2891
  1. 2
      config.mk
  2. 2
      dmenu.c

2
config.mk

@ -1,5 +1,5 @@
# dmenu version # dmenu version
VERSION = 4.3 VERSION = 4.3.1
# paths # paths
PREFIX = /usr/local PREFIX = /usr/local

2
dmenu.c

@ -219,7 +219,7 @@ insert(const char *str, ssize_t n) {
if(n > 0) if(n > 0)
memcpy(&text[cursor], str, n); memcpy(&text[cursor], str, n);
cursor += n; cursor += n;
match(n > 0); match(n > 0 && text[cursor] == '\0');
} }
void void

Loading…
Cancel
Save