aewl

diff view.c @ 333:827f8f6c9e97

separated setup stuff into main.c:setup() - this makes main() more readable
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 23 Aug 2006 10:21:57 +0200
parents 96d09fd98e89
children a1901753deef
line diff
     1.1 --- a/view.c	Tue Aug 22 19:56:29 2006 +0200
     1.2 +++ b/view.c	Wed Aug 23 10:21:57 2006 +0200
     1.3 @@ -195,7 +195,7 @@
     1.4  void
     1.5  togglemode(Arg *arg)
     1.6  {
     1.7 -	arrange = arrange == dofloat ? dotile : dofloat;
     1.8 +	arrange = (arrange == dofloat) ? dotile : dofloat;
     1.9  	if(sel)
    1.10  		arrange(NULL);
    1.11  	else