aboutsummaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-23 10:21:57 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-23 10:21:57 +0200
commitb5159dfd2f552696b049b95e0d368a2c33a1002a (patch)
tree111ed79d6fb06ad84b1930a27f555915fba29ed6 /view.c
parent07c2659806e95499b4a258ff1961e61c541f50b3 (diff)
downloaddwm-b5159dfd2f552696b049b95e0d368a2c33a1002a.tar.gz
separated setup stuff into main.c:setup() - this makes main() more readable
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 d9aa6e4..22b1794 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
remember that computers suck.