Optimizations and cleanups
(missing float conversion, defines, 1.0 vs 1.f etc.)
This commit is contained in:
@@ -86,7 +86,7 @@ Splash::Splash () {
|
||||
splashImage->show ();
|
||||
|
||||
// Tab 2: the informations about the current version
|
||||
#if defined _WIN32 || defined __APPLE__
|
||||
#if defined WIN32 || defined __APPLE__
|
||||
std::string buildFileName = Glib::build_filename (argv0, "AboutThisBuild.txt");
|
||||
#else
|
||||
std::string buildFileName = Glib::build_filename (CREDITS_SEARCH_PATH, "AboutThisBuild.txt");
|
||||
@@ -113,7 +113,7 @@ Splash::Splash () {
|
||||
}
|
||||
|
||||
// Tab 3: the credits
|
||||
#if defined _WIN32 || defined __APPLE__
|
||||
#if defined WIN32 || defined __APPLE__
|
||||
std::string creditsFileName = Glib::build_filename (argv0, "AUTHORS.txt");
|
||||
#else
|
||||
std::string creditsFileName = Glib::build_filename (CREDITS_SEARCH_PATH, "AUTHORS.txt");
|
||||
@@ -140,7 +140,7 @@ Splash::Splash () {
|
||||
}
|
||||
|
||||
// Tab 4: the license
|
||||
#if defined _WIN32 || defined __APPLE__
|
||||
#if defined WIN32 || defined __APPLE__
|
||||
std::string licenseFileName = Glib::build_filename (argv0, "LICENSE.txt");
|
||||
#else
|
||||
std::string licenseFileName = Glib::build_filename (LICENCE_SEARCH_PATH, "LICENSE.txt");
|
||||
|
Reference in New Issue
Block a user