From 884f08ef503294b54502ff50f2977259c369d8e3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Feb 2008 04:13:44 +0000 Subject: [PATCH] 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 --- gtk2_ardour/splash.cc | 2 +- libs/ardour/smf_source.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc index 893ecc3d2c..7ffca37fc1 100644 --- a/gtk2_ardour/splash.cc +++ b/gtk2_ardour/splash.cc @@ -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(); } diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index 10713ef505..bd4f837780 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -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); }