generalize VCA assign/unassign code.
[ardour.git] / gtk2_ardour / splash.cc
index d122449ff8cc1ed27d9c4c28fb84b3ac673ec78f..407bdec2d2201c7d3ee3fc5caed3146878515a09 100644 (file)
@@ -50,7 +50,10 @@ Splash::Splash ()
 
        std::string splash_file;
 
-       if (!find_file (ardour_data_search_path(), "splash.png", splash_file)) {
+       Searchpath rc (ARDOUR::ardour_data_search_path());
+       rc.add_subdirectory_to_paths ("resources");
+
+       if (!find_file (rc, PROGRAM_NAME "-splash.png", splash_file)) {
                 cerr << "Cannot find splash screen image file\n";
                throw failed_constructor();
        }