(load_branch): Confirm that maps is not NULL.
authorhanda <handa>
Sat, 7 Jan 2006 02:17:58 +0000 (02:17 +0000)
committerhanda <handa>
Sat, 7 Jan 2006 02:17:58 +0000 (02:17 +0000)
src/input.c

index e5677f6..74b2a7e 100644 (file)
@@ -1015,7 +1015,7 @@ load_branch (MPlist *plist, MPlist *maps, MIMMap *map,
       if (branch_actions)
        M17N_OBJECT_REF (branch_actions);
     }
-  else if ((plist = (MPlist *) mplist_get (maps, map_name)))
+  else if (maps && (plist = (MPlist *) mplist_get (maps, map_name)))
     {
       MPLIST_DO (plist, plist)
        {