diff options
-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, ""); |