bugfix: don't check for current_layout a this moment

fix regression introduced by myself with latest patch from daniel
This commit is contained in:
Julien Danjou 2007-10-10 19:03:23 +02:00
parent 9d95d4691c
commit 503e2050c5
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ parse_config(Display * disp, int scr,const char *confpatharg, awesome_config *aw
awesomeconf->nmaster = cfg_getint(cfg_layouts, "nmaster"); awesomeconf->nmaster = cfg_getint(cfg_layouts, "nmaster");
awesomeconf->ncol = cfg_getint(cfg_layouts, "ncol"); awesomeconf->ncol = cfg_getint(cfg_layouts, "ncol");
if(!awesomeconf->nlayouts || !awesomeconf->current_layout->arrange) if(!awesomeconf->nlayouts)
eprint("awesome: fatal: no default layout available\n"); eprint("awesome: fatal: no default layout available\n");
/* Rules */ /* Rules */