minor fix
This commit is contained in:
parent
d300afc99c
commit
1717c11280
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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
|
//usr GNU extensions
|
||||||
#ifndef _GNU_SOURCE
|
#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
|
#ifdef HAVE_SETLOCALE
|
||||||
//make sure we don't get 0 to m_locale string
|
//make sure we don't get 0 to m_locale string
|
||||||
char *temp = setlocale(LC_ALL, "");
|
char *temp = setlocale(LC_ALL, "");
|
||||||
|
|
Loading…
Reference in a new issue