diff options
author | Anselm R. Garbe | 2007-05-10 13:49:17 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2007-05-10 13:49:17 +0200 |
commit | 05f6d31a69d95e8a39a7f65d158dadc9a66b0193 (patch) | |
tree | d0481dd91005fcf26ee9de4b80b7889313b760dc /client.c | |
parent | f4961a323be2dda8891b0ae26c73221bdab8185f (diff) | |
download | aur-05f6d31a69d95e8a39a7f65d158dadc9a66b0193.tar.gz |
small fix of fix
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -365,9 +365,8 @@ updatetitle(Client *c) { 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) |