diff options
Diffstat (limited to 'x11-toolkits/wxgtk24/files/patch-src_common_intl.cpp')
-rw-r--r-- | x11-toolkits/wxgtk24/files/patch-src_common_intl.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/x11-toolkits/wxgtk24/files/patch-src_common_intl.cpp b/x11-toolkits/wxgtk24/files/patch-src_common_intl.cpp deleted file mode 100644 index f8e465e4cbc3..000000000000 --- a/x11-toolkits/wxgtk24/files/patch-src_common_intl.cpp +++ /dev/null @@ -1,22 +0,0 @@ ---- src/common/intl.cpp.orig Sat Oct 4 23:10:24 2003 -+++ src/common/intl.cpp Sun Oct 5 21:35:30 2003 -@@ -743,8 +742,18 @@ - } - if ( !retloc ) - { -+ wxString langFull; -+ if (wxGetEnv(wxT("LC_ALL"), &langFull)|| -+ wxGetEnv(wxT("LC_MESSAGES"), &langFull) || -+ wxGetEnv(wxT("LANG"), &langFull)) -+ { -+ retloc = wxSetlocale(LC_ALL, langFull); -+ } -+ } -+ if ( !retloc ) -+ { - wxLogError(wxT("Cannot set locale to '%s'."), locale.c_str()); -- return FALSE; -+ //return FALSE; - } - #elif defined(__WIN32__) - |