소스 검색

small fix of fix

Anselm R. Garbe 18 년 전
부모
커밋
c67dbb28e4
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      client.c

+ 1 - 2
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)