Optimizations and cleanups

(missing float conversion, defines, 1.0 vs 1.f etc.)
This commit is contained in:
Oliver Duis
2011-07-01 14:49:15 +02:00
parent 3856927098
commit a4281a9d87
25 changed files with 143 additions and 243 deletions

View File

@@ -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");