small fix of fix c67dbb28
Anselm R. Garbe · 2007-05-10 13:49 1 file(s) · +1 −2
client.c +1 −2
365 365
		XGetWMName(dpy, c->win, &name);
366 366
	if(!name.nitems)
367 367
		return;
368 -
	if(name.encoding == XA_STRING) {
368 +
	if(name.encoding == XA_STRING)
369 369
		strncpy(c->name, (char *)name.value, sizeof c->name - 1);
370 -
	}
371 370
	else {
372 371
		if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success
373 372
		&& n > 0 && *list)