small fix of fix
Anselm R. Garbe arg@suckless.org
Thu, 10 May 2007 13:49:17 +0200
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
client.c
→
client.c
@@ -365,9 +365,8 @@ if(!name.nitems)
XGetWMName(dpy, c->win, &name); if(!name.nitems) return; - if(name.encoding == XA_STRING) { + if(name.encoding == XA_STRING) strncpy(c->name, (char *)name.value, sizeof c->name - 1); - } else { if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success && n > 0 && *list)