Browse Source

fix a regression in the previous commit for tab complete

Reported by Santtu Lakkala <inz@inz.fi>, thanks!
master
Hiltjo Posthuma 3 years ago
parent
commit
1e8c5b68f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c View File

@ -519,7 +519,7 @@ insert:
return;
cursor = strnlen(sel->text, sizeof text - 1);
memcpy(text, sel->text, cursor);
text[sizeof text - 1] = '\0';
text[cursor] = '\0';
match();
break;
}


Loading…
Cancel
Save