diff --git a/src/surfacecollection.cpp b/src/surfacecollection.cpp index 3ebc61b..974dda2 100644 --- a/src/surfacecollection.cpp +++ b/src/surfacecollection.cpp @@ -72,6 +72,13 @@ string SurfaceCollection::getSkinFilePath(const string &skin, const string &file if (fileExists(path)) return path; + /* If it is nowhere to be found, as a last resort we check the + * "Default" skin on the system directory for a corresponding + * (but probably not similar) file. */ + path = GMENU2X_SYSTEM_DIR "/skins/Default/" + file; + if (fileExists(path)) + return path; + return ""; }