From: handa Date: Mon, 9 Aug 2010 07:48:43 +0000 (+0000) Subject: (m17n_init_core): Fix handling of env_value. X-Git-Tag: REL-1-6-2~73 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2bebba8c3542ecf014ea014728a397419f613d;p=m17n%2Fm17n-lib.git (m17n_init_core): Fix handling of env_value. --- diff --git a/src/m17n-core.c b/src/m17n-core.c index 945745e..f29f2e6 100644 --- a/src/m17n-core.c +++ b/src/m17n-core.c @@ -599,7 +599,7 @@ m17n_init_core (void) mdebug__output = NULL; if (env_value) { - if (strcmp (env_value, "stdout")) + if (strcmp (env_value, "stdout") == 0) mdebug__output = stdout; else mdebug__output = fopen (env_value, "a");