summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-07 21:16:35 +0000
committerDana Jansens <danakj@orodu.net>2002-07-07 21:16:35 +0000
commit137a0c4e596409a1d35f0f6ea1bd6e4fcd5a3831 (patch)
treec8af9cd55971bd8eede10daa01843647c280dc0c /src/Screen.cc
parent32c13697524e01a21e5b667188cad73434693ecb (diff)
allow style options in the rc file to override those found in the style
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 3a94a4a5..ca94e75a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -739,24 +739,10 @@ void BScreen::LoadStyle(void) {
}
}
- string s;
-
- if (config->getValue("rootCommand", s))
- printf("config.rootCommand: %s\n", s.c_str());
-
- if (style.getValue("rootCommand", s))
- printf("style.rootCommand: %s\n", s.c_str());
-
// merge in the rc file
- style.merge(config, True);
+ style.merge(config->file(), True);
- printf("merged databases\n");
-
- if (style.getValue("rootCommand", s))
- printf("style.rootCommand: %s\n", s.c_str());
-
- if (style.getValue("session.cacheMax", s))
- printf("session.cacheMax: %s\n", s.c_str());
+ string s;
// load fonts/fontsets
if (resource.wstyle.font)