From: handa Date: Sun, 21 Mar 2004 23:59:56 +0000 (+0000) Subject: (m17n_init_win): Fix the way of checking merror_code. X-Git-Tag: REL-1-0-2~21 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4b674a4d35ea4cf5dec635e54e4e049c655d66be;p=m17n%2Fm17n-lib.git (m17n_init_win): Fix the way of checking merror_code. --- diff --git a/src/m17n-gui.c b/src/m17n-gui.c index a56873f..45ca8d1 100644 --- a/src/m17n-gui.c +++ b/src/m17n-gui.c @@ -97,7 +97,7 @@ m17n_init_win (void) if (win_initialized) return; m17n_init (); - if (merror_code < 0) + if (merror_code != MERROR_NONE) return; Mfont = msymbol ("font");