(m17n_init_core): Fix handling of env_value.
authorhanda <handa>
Mon, 9 Aug 2010 07:48:43 +0000 (07:48 +0000)
committerhanda <handa>
Mon, 9 Aug 2010 07:48:43 +0000 (07:48 +0000)
src/m17n-core.c

index 945745e..f29f2e6 100644 (file)
@@ -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");