summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index d9aa6e4a..22b17946 100644
--- a/view.c
+++ b/view.c
@@ -195,7 +195,7 @@ restack()
void
togglemode(Arg *arg)
{
- arrange = arrange == dofloat ? dotile : dofloat;
+ arrange = (arrange == dofloat) ? dotile : dofloat;
if(sel)
arrange(NULL);
else