diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/I18n.cc | 4 |
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; |