aboutsummaryrefslogtreecommitdiffstats
path: root/games/wesnoth-devel/files/patch-src::language.cpp
blob: 7f06454db3d825521f4e922471155c6cdf773ba7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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);