(run_otf): Set adjusted flag of glyphs if necessary.
authorhanda <handa>
Tue, 20 Nov 2007 06:58:29 +0000 (06:58 +0000)
committerhanda <handa>
Tue, 20 Nov 2007 06:58:29 +0000 (06:58 +0000)
(run_stages): Likewise.
(load_flt): Unref top after checking plist.

src/m17n-flt.c

index f18f0a5..aa7f48d 100644 (file)
@@ -1257,12 +1257,14 @@ load_flt (MFLT *flt, MPlist *key_list)
     }
   if (category)
     M17N_OBJECT_UNREF (category);
-  M17N_OBJECT_UNREF (top);
+  printf ("FLT:%s\n", MSYMBOL_NAME (flt->name));
   if (! MPLIST_TAIL_P (plist))
     {
+      M17N_OBJECT_UNREF (top);
       M17N_OBJECT_UNREF (flt->stages);
       MERROR (MERROR_FLT, -1);
     }
+  M17N_OBJECT_UNREF (top);
   return 0;
 }