parenthized use of ISTILE macro in dwm.c
authorarg@suckless.org
Tue, 23 Oct 2007 09:38:47 +0200
changeset 1039 5fa681ba70ae
parent 1038 cdd1db1c525b
child 1040 b8408fc315df
parenthized use of ISTILE macro in dwm.c
dwm.c
--- a/dwm.c	Fri Oct 19 09:56:51 2007 +0200
+++ b/dwm.c	Tue Oct 23 09:38:47 2007 +0200
@@ -346,7 +346,7 @@
 			movemouse(c);
 		}
 		else if(ev->button == Button2) {
-			if(ISTILE && !c->isfixed && c->isfloating)
+			if((ISTILE) && !c->isfixed && c->isfloating)
 				togglefloating(NULL);
 			else
 				zoom(NULL);
@@ -1402,7 +1402,7 @@
 setmwfact(const char *arg) {
 	double delta;
 
-	if(!ISTILE)
+	if(!(ISTILE))
 		return;
 	/* arg handling, manipulate mwfact */
 	if(arg == NULL)
@@ -1863,7 +1863,7 @@
 zoom(const char *arg) {
 	Client *c;
 
-	if(!sel || !ISTILE || sel->isfloating)
+	if(!sel || !(ISTILE) || sel->isfloating)
 		return;
 	if((c = sel) == nexttiled(clients))
 		if(!(c = nexttiled(c->next)))