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 36e258b..3d35044 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -399,8 +399,8 @@ void updateConfigFilesIfNeeded(const std::string& rc_file) { | |||
399 | 399 | ||
400 | const int CONFIG_VERSION = 13; // TODO: move this to 'defaults.hh' or 'config.h' | 400 | const int CONFIG_VERSION = 13; // TODO: move this to 'defaults.hh' or 'config.h' |
401 | 401 | ||
402 | FbTk::ResourceManager r_mgr(rc_file.c_str(), false); | 402 | FbTk::ResourceManager r_mgr("session", "Session", rc_file.c_str(), false); |
403 | FbTk::IntResource c_version(r_mgr, 0, "session.configVersion", "Session.ConfigVersion"); | 403 | FbTk::IntResource c_version(r_mgr, 0, "configVersion", "ConfigVersion"); |
404 | 404 | ||
405 | if (!r_mgr.load(rc_file.c_str())) { | 405 | if (!r_mgr.load(rc_file.c_str())) { |
406 | _FB_USES_NLS; | 406 | _FB_USES_NLS; |