diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc index 1a61ff2..6e6e47d 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -414,8 +414,8 @@ void updateConfigFilesIfNeeded(const std::string& rc_file) { | |||
414 | 414 | ||
415 | const int CONFIG_VERSION = 13; // TODO: move this to 'defaults.hh' or 'config.h' | 415 | const int CONFIG_VERSION = 13; // TODO: move this to 'defaults.hh' or 'config.h' |
416 | 416 | ||
417 | FbTk::ResourceManager r_mgr(rc_file.c_str(), false); | 417 | FbTk::ResourceManager r_mgr("session", "Session", rc_file.c_str(), false); |
418 | FbTk::IntResource c_version(r_mgr, 0, "session.configVersion", "Session.ConfigVersion"); | 418 | FbTk::IntResource c_version(r_mgr, 0, "configVersion", "ConfigVersion"); |
419 | 419 | ||
420 | if (!r_mgr.load(rc_file.c_str())) { | 420 | if (!r_mgr.load(rc_file.c_str())) { |
421 | _FB_USES_NLS; | 421 | _FB_USES_NLS; |