From: handa Date: Fri, 11 Mar 2005 12:32:27 +0000 (+0000) Subject: (m17n_init_win): Set merror_code to MERROR_NONE at first. X-Git-Tag: REL-1-3-0~353 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb55b4b837b7d081c32862fb8e666573d550633b;p=m17n%2Fm17n-lib.git (m17n_init_win): Set merror_code to MERROR_NONE at first. --- diff --git a/src/m17n-gui.c b/src/m17n-gui.c index 7e1e594..d6e1c8e 100644 --- a/src/m17n-gui.c +++ b/src/m17n-gui.c @@ -237,9 +237,9 @@ m17n_init_win (void) { int mdebug_mask = MDEBUG_INIT; + merror_code = MERROR_NONE; if (m17n__gui_initialized++) return; - merror_code = MERROR_NONE; m17n_init (); if (merror_code != MERROR_NONE) {