From: handa Date: Sun, 21 Mar 2004 23:59:40 +0000 (+0000) Subject: (m17n_init): Fix the way of checking merror_code. X-Git-Tag: REL-1-0-2~22 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=8fa960686724e2840028bde6f9f821ff9bbb2a46;p=m17n%2Fm17n-lib.git (m17n_init): Fix the way of checking merror_code. --- diff --git a/src/m17n.c b/src/m17n.c index 0b658d0..d8ca38f 100644 --- a/src/m17n.c +++ b/src/m17n.c @@ -45,7 +45,7 @@ m17n_init (void) if (shell_initialized) return; m17n_init_core (); - if (merror_code < 0) + if (merror_code != MERROR_NONE) return; MDEBUG_PUSH_TIME (); MDEBUG_PUSH_TIME ();