X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=2c60c0ec712242023a0a6aee3e7a2c658a5add1a;hb=958cad765cf063c9cc3722c3e694c9827ae502a4;hp=088222ff26b03ccccd37bdcaf0776e25ec4abfe0;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index 088222ff2..2c60c0ec7 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, PACKAGE_VERSION); - Setup::info(PACKAGE_NAME, PACKAGE, PACKAGE_VERSION); - - Setup::directories(); Setup::parseargs(argc, argv); Setup::audio();