pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feec92d
)
applied Jukka's patch
author
Anselm R. Garbe
<garbeam@gmail.com>
Thu, 16 Aug 2007 06:05:30 +0000
(08:05 +0200)
committer
Anselm R. Garbe
<garbeam@gmail.com>
Thu, 16 Aug 2007 06:05:30 +0000
(08:05 +0200)
tile.c
patch
|
blob
|
history
diff --git
a/tile.c
b/tile.c
index
e1c68f8
..
386832d
100644
(file)
--- a/
tile.c
+++ b/
tile.c
@@
-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;
}