diff options
Diffstat (limited to 'games/wesnoth-devel/files/patch-src::language.cpp')
-rw-r--r-- | games/wesnoth-devel/files/patch-src::language.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games/wesnoth-devel/files/patch-src::language.cpp b/games/wesnoth-devel/files/patch-src::language.cpp index c60d625cdd6b..7f06454db3d8 100644 --- a/games/wesnoth-devel/files/patch-src::language.cpp +++ b/games/wesnoth-devel/files/patch-src::language.cpp @@ -1,17 +1,15 @@ ---- src/language.cpp.orig Tue Jun 7 19:36:19 2005 -+++ src/language.cpp Tue Jun 7 19:36:39 2005 -@@ -124,12 +124,12 @@ - static void wesnoth_setlocale(int category, std::string const &slocale) - { - char const *locale = slocale.c_str(); +--- src/language.cpp.orig Mon Jul 25 13:44:10 2005 ++++ src/language.cpp Mon Jul 25 13:45:47 2005 +@@ -133,12 +133,10 @@ + unsetenv ("LANGUAGE"); // void so no return value to check + #endif + -#ifdef __BEOS__ -+ if(setenv ("LANG", locale, 1) == -1) std::cerr << "setenv LANG failed: " << strerror(errno); if(setenv ("LC_ALL", locale, 1) == -1) std::cerr << "setenv LC_ALL failed: " << strerror(errno); -#endif -+ #ifdef __APPLE__ if(setenv ("LANGUAGE", locale, 1) == -1) std::cerr << "setenv LANGUAGE failed: " << strerror(errno); |