wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 3465b463fa923a33ed695e96dbbccda2613cff6c
parent 5b91425d2b716a4aaf86d8f80b806faaedd54a65
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu,  6 Jul 2006 17:03:33 +0200

removed string termination in blitz_getselection


Diffstat:
liblitz/blitz.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/liblitz/blitz.c b/liblitz/blitz.c @@ -38,7 +38,6 @@ blitz_getselection(unsigned long offset, unsigned long *len, unsigned long *rema if(*len) { result = cext_emallocz(sizeof(unsigned char) * *len); memcpy(result, data, *len); - result[*len - 1] = 0; } XDeleteProperty(dpy, w, ev.xselection.property); }