bugfix
This commit is contained in:
parent
b028ec0e07
commit
2103ae2891
2 changed files with 2 additions and 2 deletions
|
@ -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
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…
Reference in a new issue