[hackers] [dwm] applied Jukka's patch

From: Anselm R. Garbe <garbeam_AT_gmail.com>
Date: Thu Aug 16 08:06:46 2007

changeset: 955:b2518e01f7e3
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Thu Aug 16 08:05:30 2007 +0200
summary: applied Jukka's patch

diff -r 18381a2cda42 -r b2518e01f7e3 tile.c
--- a/tile.c Wed Aug 15 19:31:41 2007 +0200
+++ b/tile.c Thu Aug 16 08:05:30 2007 +0200
@@ -16,7 +16,9 @@ addtomwfact(const char *arg) {
                 return;
 
         /* arg handling, manipulate mwfact */
- if(arg && (1 == sscanf(arg, "%lf", &delta))) {
+ if(arg == NULL)
+ mwfact = MWFACT;
+ else if(1 == sscanf(arg, "%lf", &delta)) {
                 if(delta + mwfact > 0.1 && delta + mwfact < 0.9)
                         mwfact += delta;
         }
Received on Thu Aug 16 2007 - 08:06:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:54 UTC