diff options
author | okan <okan> | 2014-01-28 20:22:21 +0000 |
---|---|---|
committer | okan <okan> | 2014-01-28 20:22:21 +0000 |
commit | 2b233f0548bb026eebb336bcdac57e48f0839e5c (patch) | |
tree | f4a0233043a95850cea77fd62df694e17984251a /calmwm.c | |
parent | 5fd119daea8de1e84f382e7651c996fd861974b9 (diff) | |
parent | c28467cda5323f2251ed16a407fd77b7ec9e5ba6 (diff) | |
download | cwm-2b233f0548bb026eebb336bcdac57e48f0839e5c.tar.gz cwm-2b233f0548bb026eebb336bcdac57e48f0839e5c.tar.xz cwm-2b233f0548bb026eebb336bcdac57e48f0839e5c.zip |
cvsimport
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c index 71ee1f6..5ea0ac6 100644 --- a/calmwm.c +++ b/calmwm.c @@ -108,8 +108,11 @@ main(int argc, char **argv) } conf_init(&Conf); - if (conf_path && (parse_config(conf_path, &Conf) == -1)) + if (conf_path && (parse_config(conf_path, &Conf) == -1)) { warnx("config file %s has errors, not loading", conf_path); + conf_clear(&Conf); + conf_init(&Conf); + } free(conf_path); x_init(display_name); |