aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbString.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2007-01-05 16:10:56 (GMT)
committersimonb <simonb>2007-01-05 16:10:56 (GMT)
commit64fcedda00205f0c0b9464967f06322d4c7afa91 (patch)
tree4b0bbde89c7d1b11e16059632e8dd8eaba99b039 /src/FbTk/FbString.cc
parentfcc756c052c91eb582b459684017e10898322eed (diff)
downloadfluxbox-64fcedda00205f0c0b9464967f06322d4c7afa91.zip
fluxbox-64fcedda00205f0c0b9464967f06322d4c7afa91.tar.bz2
use LC_TIME for interpreting clock locale.
Fix something likely to break locales on BSDs and things without nl_langinfo
Diffstat (limited to 'src/FbTk/FbString.cc')
-rw-r--r--src/FbTk/FbString.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/FbString.cc b/src/FbTk/FbString.cc
index c767a30..6614ec4 100644
--- a/src/FbTk/FbString.cc
+++ b/src/FbTk/FbString.cc
@@ -79,7 +79,7 @@ void init() {
79 string locale = setlocale(LC_CTYPE, NULL); 79 string locale = setlocale(LC_CTYPE, NULL);
80 size_t pos = locale.find('.'); 80 size_t pos = locale.find('.');
81 if (pos != string::npos) 81 if (pos != string::npos)
82 locale_codeset = locale.substr(pos); 82 locale_codeset = locale.substr(pos+1);
83#endif // CODESET 83#endif // CODESET
84 84
85#ifdef DEBUG 85#ifdef DEBUG