Include <fontconfig/fcfreetype.h> if HAVE_XFT2.
[m17n/m17n-lib.git] / src / m17n.c
index 9ac7d8e..4a9ac5e 100644 (file)
@@ -42,9 +42,9 @@ m17n_init (void)
 {
   int mdebug_mask = MDEBUG_INIT;
 
+  merror_code = MERROR_NONE;
   if (m17n__shell_initialized++)
     return;
-  merror_code == MERROR_NONE;
   m17n_init_core ();
   if (merror_code != MERROR_NONE)
     {