mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Handle return from find_file_in_search_path in the correct sense.
git-svn-id: svn://localhost/ardour2/branches/3.0@7401 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e59090cac0
commit
a811f69104
1 changed files with 4 additions and 2 deletions
|
|
@ -71,8 +71,9 @@ UIConfiguration::load_defaults ()
|
|||
} else {
|
||||
rcfile = "ardour3_ui_default.conf";
|
||||
}
|
||||
if ( !find_file_in_search_path (ardour_search_path() + system_config_search_path(),
|
||||
rcfile, default_ui_rc_file) )
|
||||
|
||||
if (find_file_in_search_path (ardour_search_path() + system_config_search_path(),
|
||||
rcfile, default_ui_rc_file) )
|
||||
{
|
||||
XMLTree tree;
|
||||
found = 1;
|
||||
|
|
@ -91,6 +92,7 @@ UIConfiguration::load_defaults ()
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
return found;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue