aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorakir <akir>2004-10-07 09:52:28 (GMT)
committerakir <akir>2004-10-07 09:52:28 (GMT)
commit9c3ad19748f1b38e54fcf421c9703f9c4ebf9d7f (patch)
treef10a6949ea8a8e869f08d8f2cc555f9a1751987f /src
parent26decf66e8c5d45177f871bb72ed64211bb9ae32 (diff)
downloadfluxbox-9c3ad19748f1b38e54fcf421c9703f9c4ebf9d7f.zip
fluxbox-9c3ad19748f1b38e54fcf421c9703f9c4ebf9d7f.tar.bz2
added LC_TIME so the ClockTool gets the right locale
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/I18n.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/I18n.cc b/src/FbTk/I18n.cc
index a077758..d388a97 100644
--- a/src/FbTk/I18n.cc
+++ b/src/FbTk/I18n.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: I18n.cc,v 1.3 2004/08/31 15:26:39 rathnor Exp $ 25// $Id: I18n.cc,v 1.4 2004/10/07 09:52:28 akir Exp $
26 26
27/* Note: 27/* Note:
28 * A good reference for the older non-gettext style I18n 28 * A good reference for the older non-gettext style I18n
@@ -88,6 +88,8 @@ I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) {
88#ifdef HAVE_SETLOCALE 88#ifdef HAVE_SETLOCALE
89 89
90 } else { 90 } else {
91
92 setlocale(LC_TIME, "");
91 // MB_CUR_MAX returns the size of a char in the current locale 93 // MB_CUR_MAX returns the size of a char in the current locale
92 if (MB_CUR_MAX > 1) 94 if (MB_CUR_MAX > 1)
93 m_multibyte = true; 95 m_multibyte = true;