summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 4a826d9f..3cff294b 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)