about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
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)