diff options
author | fluxgen <fluxgen> | 2002-04-04 11:32:16 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 11:32:16 (GMT) |
commit | 1717c112802ac6828ced2890fd8cfe99ba96cd96 (patch) | |
tree | ebaa7f3b70d8e49b33c91aae265cecac25e1db72 /src | |
parent | d300afc99ca03e65515df3ffc89d3df56186b4c0 (diff) | |
download | fluxbox-1717c112802ac6828ced2890fd8cfe99ba96cd96.zip fluxbox-1717c112802ac6828ced2890fd8cfe99ba96cd96.tar.bz2 |
minor fix
Diffstat (limited to 'src')
-rw-r--r-- | src/i18n.cc | 4 |
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 | ||
61 | I18n::I18n():m_multibyte(false), m_catalog_fd(-1) { | 61 | I18n::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, ""); |