? messages.mo Index: src/system.cxx =================================================================== RCS file: /var/lib/cvs/Games/Pingus/src/system.cxx,v retrieving revision 1.13 diff -u -r1.13 system.cxx --- src/system.cxx 11 Apr 2003 12:45:39 -0000 1.13 +++ src/system.cxx 13 Apr 2003 00:00:30 -0000 @@ -18,6 +18,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include +#include #ifndef WIN32 # include @@ -342,10 +343,7 @@ std::string System::get_language() { - char* clang = getenv("LC_MESSAGES"); - if (clang == 0) - clang = getenv("LANG"); - + char* clang = setlocale(LC_MESSAGES, NULL); std::string lang; if (clang)