aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-31 17:37:13 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-31 17:37:13 +0100
commit6e9387793b06980b2420bf64106044cabf63e490 (patch)
tree2d67ec367d9aef921dc33c75d13b1047eacf4c86 /dwm.c
parent92f3c181c3c3f106361a9c9f7e354ce29ae37e62 (diff)
downloaddwm-6e9387793b06980b2420bf64106044cabf63e490.tar.gz
fix
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 4a826d9..3cff294 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1306,7 +1306,7 @@ void
setmfact(const void *arg) {
double d = *((double*) arg);
- if(!d || lt->arrange)
+ if(!d || !lt->arrange)
return;
d = d < 1.0 ? d + mfact : d - 1.0;
if(d < 0.1 || d > 0.9)
remember that computers suck.