diff options
author | jasper <jasper> | 2007-05-28 18:34:27 +0000 |
---|---|---|
committer | jasper <jasper> | 2007-05-28 18:34:27 +0000 |
commit | 9006bbf20b0c37ab3b4891f4c178fe86383cab1b (patch) | |
tree | 759bd796eeb5b6a96fa6dbed17dfe2f5cb57b04c /conf.c | |
parent | 4a498a4c60bbc7fe5bcb0427e64a883e458d714b (diff) | |
download | cwm-9006bbf20b0c37ab3b4891f4c178fe86383cab1b.tar.gz cwm-9006bbf20b0c37ab3b4891f4c178fe86383cab1b.tar.xz cwm-9006bbf20b0c37ab3b4891f4c178fe86383cab1b.zip |
convert globals from G_foo to Foo, as per TODO.
"looks good" pedro@, ok matthieu@
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conf.c b/conf.c index a586df5..065d6bc 100644 --- a/conf.c +++ b/conf.c @@ -78,9 +78,9 @@ conf_cmd_add(struct conf *c, char *image, char *label, int flags) /* "term" and "lock" have special meanings. */ if (strcmp(label, "term") == 0) { - strlcpy(G_conf.termpath, image, sizeof(G_conf.termpath)); + strlcpy(Conf.termpath, image, sizeof(Conf.termpath)); } else if (strcmp(label, "lock") == 0) { - strlcpy(G_conf.lockpath, image, sizeof(G_conf.lockpath)); + strlcpy(Conf.lockpath, image, sizeof(Conf.lockpath)); } else { struct cmd *cmd; XMALLOC(cmd, struct cmd); @@ -262,8 +262,8 @@ conf_setup(struct conf *c) c->flags = 0; /* Default term/lock */ - strlcpy(G_conf.termpath, "xterm", sizeof(G_conf.termpath)); - strlcpy(G_conf.lockpath, "xlock", sizeof(G_conf.lockpath)); + strlcpy(Conf.termpath, "xterm", sizeof(Conf.termpath)); + strlcpy(Conf.lockpath, "xlock", sizeof(Conf.lockpath)); } int @@ -471,7 +471,7 @@ conf_parsesettings(struct conf *c, char *filename) if (ent->d_name[0] == '.') continue; if (strncmp(ent->d_name, "sticky", 7)==0) - G_conf.flags |= CONF_STICKY_GROUPS; + Conf.flags |= CONF_STICKY_GROUPS; } closedir(dir); } |