[hackers] [wmii] Same as the last commit, only right.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Apr 14 10:44:27 2007

changeset: 2073:9a8fddb687bf
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Apr 14 04:41:15 2007 -0400
summary: Same as the last commit, only right.

diff -r 2eb64322ff5b -r 9a8fddb687bf cmd/wmii/mouse.c
--- a/cmd/wmii/mouse.c Sat Apr 14 04:37:38 2007 -0400
+++ b/cmd/wmii/mouse.c Sat Apr 14 04:41:15 2007 -0400
@@ -370,7 +370,7 @@ mouse_resizecol(Divide *d) {
                 if(dp->next == d) break;
 
         /* Fix later */
- if(a || a->next == nil)
+ if(a == nil || a->next == nil)
                 return;
 
         minw = screen->rect.width/NCOL;
Received on Sat Apr 14 2007 - 10:44:27 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:38 UTC