From: handa Date: Fri, 11 Mar 2005 12:32:43 +0000 (+0000) Subject: (m17n_init_core): Set merror_code to MERROR_NONE at X-Git-Tag: REL-1-3-0~351 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=8b7c7a178088da1c52e821fc75d35e63896cd0c5;p=m17n%2Fm17n-lib.git (m17n_init_core): Set merror_code to MERROR_NONE at first. --- diff --git a/src/m17n-core.c b/src/m17n-core.c index 17931cf..10325d6 100644 --- a/src/m17n-core.c +++ b/src/m17n-core.c @@ -496,10 +496,10 @@ m17n_init_core (void) { int mdebug_mask = MDEBUG_INIT; + merror_code = MERROR_NONE; if (m17n__core_initialized++) return; - merror_code = MERROR_NONE; m17n_memory_full_handler = default_error_handler; mdebug__flag = 0;