[dwm] safe to remove

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Mon, 14 Aug 2006 13:49:16 -0400

I believe this is safe to change in the dotile() function since h is
only ever referenced when (n > 1).
-RPM

--- tag.000.c 2006-08-14 13:43:40.000000000 -0400
+++ tag.c 2006-08-14 13:44:32.000000000 -0400
@@ -68,10 +68,7 @@
                if(isvisible(c) && !c->isfloat)
                        n++;
 
- if(n > 1)
- h = (sh - bh) / (n - 1);
- else
- h = sh - bh;
+ h = (sh - bh) / (n - 1);
 
        for(i = 0, c = clients; c; c = c->next) {
                c->ismax = False;
Received on Mon Aug 14 2006 - 19:49:23 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:08 UTC