浏览代码

applied Sander's patch as well

Anselm R.Garbe 19 年之前
父节点
当前提交
895902b57a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      client.c

+ 1 - 2
client.c

@@ -467,8 +467,7 @@ zoom(Arg *arg)
 	}
 
 	/* pop */
-	if(sel->prev)
-		sel->prev->next = sel->next;
+	sel->prev->next = sel->next;
 	if(sel->next)
 		sel->next->prev = sel->prev;
 	sel->prev = NULL;