aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-04 11:32:16 (GMT)
committerfluxgen <fluxgen>2002-04-04 11:32:16 (GMT)
commit1717c112802ac6828ced2890fd8cfe99ba96cd96 (patch)
treeebaa7f3b70d8e49b33c91aae265cecac25e1db72
parentd300afc99ca03e65515df3ffc89d3df56186b4c0 (diff)
downloadfluxbox-1717c112802ac6828ced2890fd8cfe99ba96cd96.zip
fluxbox-1717c112802ac6828ced2890fd8cfe99ba96cd96.tar.bz2
minor fix
-rw-r--r--src/i18n.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i18n.cc b/src/i18n.cc
index 10aab7e..c282d63 100644
--- a/src/i18n.cc
+++ b/src/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.4 2002/04/04 11:28:19 fluxgen Exp $ 25// $Id: i18n.cc,v 1.5 2002/04/04 11:32:16 fluxgen Exp $
26 26
27//usr GNU extensions 27//usr GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -58,7 +58,7 @@ void NLSInit(const char *catalog) {
58} 58}
59 59
60 60
61I18n::I18n():m_multibyte(false), m_catalog_fd(-1) { 61I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) {
62#ifdef HAVE_SETLOCALE 62#ifdef HAVE_SETLOCALE
63 //make sure we don't get 0 to m_locale string 63 //make sure we don't get 0 to m_locale string
64 char *temp = setlocale(LC_ALL, ""); 64 char *temp = setlocale(LC_ALL, "");