correct the variable used to name the file when loading the default UI config file

This commit is contained in:
Paul Davis
2014-09-07 11:53:52 -04:00
parent 177c0e0940
commit 4880019218

View File

@@ -87,7 +87,7 @@ UIConfiguration::load_defaults ()
info << string_compose (_("Loading default ui configuration file %1"), rcfile) << endl;
if (!tree.read (default_ui_config_file_name)) {
if (!tree.read (rcfile.c_str())) {
error << string_compose(_("cannot read default ui configuration file \"%1\""), rcfile) << endmsg;
return -1;
}