From 1717c112802ac6828ced2890fd8cfe99ba96cd96 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 4 Apr 2002 11:32:16 +0000 Subject: minor fix --- src/i18n.cc | 4 ++-- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: i18n.cc,v 1.4 2002/04/04 11:28:19 fluxgen Exp $ +// $Id: i18n.cc,v 1.5 2002/04/04 11:32:16 fluxgen Exp $ //usr GNU extensions #ifndef _GNU_SOURCE @@ -58,7 +58,7 @@ void NLSInit(const char *catalog) { } -I18n::I18n():m_multibyte(false), m_catalog_fd(-1) { +I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) { #ifdef HAVE_SETLOCALE //make sure we don't get 0 to m_locale string char *temp = setlocale(LC_ALL, ""); -- cgit v0.11.2