Commit c67dbb2

Anselm R. Garbe <arg@suckless.org>
2007-05-10 07:49:17
small fix of fix
1 parent b8bccb4
Changed files (1)
client.c
@@ -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)