summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-22 04:13:44 +0000
committerDavid Robillard <d@drobilla.net>2008-02-22 04:13:44 +0000
commit884f08ef503294b54502ff50f2977259c369d8e3 (patch)
treee406ccd981ffecfa14ec1135bf1956f7562eaa46
parentb03676f9a60163b2936f609d6d440345e90abd62 (diff)
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
-rw-r--r--gtk2_ardour/splash.cc2
-rw-r--r--libs/ardour/smf_source.cc2
2 files changed, 1 insertions, 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);
}