From b7ef8901481aac8ae19cf92777c4a4917216a899 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 18 Sep 2007 22:46:31 +0200 Subject: [PATCH] cosmetic --- layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout.c b/layout.c index 5fafd9cf..7dd41d98 100644 --- a/layout.c +++ b/layout.c @@ -169,16 +169,16 @@ uicb_setlayout(Display *disp, if(!arg) { if(!(++awesomeconf->current_layout)->symbol) - awesomeconf->current_layout = &awesomeconf->layouts[0]; + awesomeconf->current_layout = awesomeconf->layouts; } else { i = strtol(arg, NULL, 10); if(i < 0 || i >= awesomeconf->nlayouts) - return; + return; awesomeconf->current_layout = &awesomeconf->layouts[i]; } - + for(c = clients; c; c = c->next) c->ftview = True;