diff options
author | okan <okan> | 2016-10-03 14:42:34 +0000 |
---|---|---|
committer | okan <okan> | 2016-10-03 14:42:34 +0000 |
commit | 03f5dc219e20edbcf4b7eac1f733a188ab8f7c29 (patch) | |
tree | f0bde6dbe80ee735314c5a1136c8011d6bda14b0 /conf.c | |
parent | 792f85cde97742d0c580ee2354044870d0f8754f (diff) | |
download | cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.tar.gz cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.tar.xz cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.zip |
Defaults are split between defines and conf_init(); normalize these, as
well as give 'sticky' groups its own variable.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/conf.c b/conf.c index e03b337..47a9566 100644 --- a/conf.c +++ b/conf.c @@ -254,9 +254,10 @@ conf_init(struct conf *c) { unsigned int i; - c->bwidth = CONF_BWIDTH; - c->mamount = CONF_MAMOUNT; - c->snapdist = CONF_SNAPDIST; + c->stickygroups = 0; + c->bwidth = 1; + c->mamount = 1; + c->snapdist = 0; TAILQ_INIT(&c->ignoreq); TAILQ_INIT(&c->cmdq); @@ -279,7 +280,7 @@ conf_init(struct conf *c) (void)snprintf(c->known_hosts, sizeof(c->known_hosts), "%s/%s", homedir, ".ssh/known_hosts"); - c->font = xstrdup(CONF_FONT); + c->font = xstrdup("sans-serif:pixelsize=14:bold"); } void |