tapplied Jukka's patch - dwm - [fork] customized build of dwm, the dynamic wind… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e8792d95a12c85f9e660e192cd2c6260a01a3c5e | |
parent feec92df8449f14836b8681f4e56f2afeea4faf6 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Thu, 16 Aug 2007 08:05:30 +0200 | |
applied Jukka's patch | |
Diffstat: | |
M tile.c | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/tile.c b/tile.c | |
t@@ -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; | |
} |