Browse Source

minor modification

master
a@null 16 years ago
parent
commit
4e74263ba0
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      dmenu.c

+ 1
- 4
dmenu.c View File

@ -396,10 +396,7 @@ kpress(XKeyEvent * e) {
default:
if(num && !iscntrl((int) buf[0])) {
buf[num] = 0;
if(len > 0)
strncat(text, buf, sizeof text);
else
strncpy(text, buf, sizeof text);
strncpy(text + len, buf, sizeof text - len);
match(text);
}
break;


Loading…
Cancel
Save