correct the variable used to name the file when loading the default UI config file
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 7 Sep 2014 15:53:52 +0000 (11:53 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 7 Sep 2014 15:53:52 +0000 (11:53 -0400)
gtk2_ardour/ui_config.cc

index 5c98766819a8f0ee5a2d2f4b486a332c46157f7c..4c7ec10278b292f3c082cced079347c0dbcb0aa3 100644 (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;
                }