Remove SMF file name print for every opened source.

Fix crash on startup when installed (splash.png not found).


git-svn-id: svn://localhost/ardour2/branches/3.0@3108 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-02-22 04:13:44 +00:00
parent b03676f9a6
commit 884f08ef50
2 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,7 @@ Splash::Splash ()
{
sys::path splash_file;
if (!find_file_in_search_path (ardour_search_path(), "splash.png", splash_file)) {
if (!find_file_in_search_path (ardour_search_path() + system_data_search_path(), "splash.png", splash_file)) {
throw failed_constructor();
}

View File

@ -100,8 +100,6 @@ SMFSource::SMFSource (Session& s, const XMLNode& node)
throw failed_constructor ();
}
cerr << "SMF Source name: " << _name << endl;
assert(_name.find("/") == string::npos);
}