X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=23a3fcf214eaa89a8b21e8576a2216f09e8b7e68;hb=5a542dea3c6043703683b68fcaa774f6cb0d9127;hp=088222ff26b03ccccd37bdcaf0776e25ec4abfe0;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index 088222ff2..23a3fcf21 100644 --- a/src/supertux.cpp +++ b/src/supertux.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include "utils/exceptions.h" #include "defines.h" @@ -48,14 +49,9 @@ int main(int argc, char * argv[]) try { #endif config = new MyConfig; - setlocale(LC_ALL, ""); - (void) bindtextdomain(PACKAGE, LOCALEDIR); - (void) textdomain(PACKAGE); - (void) bind_textdomain_codeset(PACKAGE, "ISO-8859-1"); + + Setup::init(PACKAGE_NAME, PACKAGE_NAME, PACKAGE_VERSION); - Setup::info(PACKAGE_NAME, PACKAGE, PACKAGE_VERSION); - - Setup::directories(); Setup::parseargs(argc, argv); Setup::audio();