13
0

Fix finding of splash file and display in About dialog

This commit is contained in:
Tim Mayberry 2016-09-30 22:28:50 +10:00
parent 4950bdaf16
commit 2637aaee23

View File

@ -585,8 +585,9 @@ About::About ()
std::string splash_file;
Searchpath spath(ardour_data_search_path());
spath.add_subdirectory_to_paths ("resources");
if (find_file (spath, "splash.png", splash_file)) {
if (find_file (spath, PROGRAM_NAME "-splash.png", splash_file)) {
set_logo (Gdk::Pixbuf::create_from_file (splash_file));
} else {
error << "Could not find splash file" << endmsg;