all repos — dmenu @ 4e74263ba02edc7da07f23b2737a1e471375a6e8

my build of dmenu

minor modification
a@null unknown
Tue, 09 Dec 2008 21:55:47 +0000
commit

4e74263ba02edc7da07f23b2737a1e471375a6e8

parent

bab59a980716e5f210f27e92b11a53517412bc5f

1 files changed, 1 insertions(+), 4 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -396,10 +396,7 @@ switch(ksym) {

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;