From: handa Date: Sat, 7 Jan 2006 02:17:58 +0000 (+0000) Subject: (load_branch): Confirm that maps is not NULL. X-Git-Tag: REL-1-3-1~19 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e8b75de3d28438673d1fc13cf4802dc781f5e635;p=m17n%2Fm17n-lib.git (load_branch): Confirm that maps is not NULL. --- diff --git a/src/input.c b/src/input.c index e5677f6..74b2a7e 100644 --- a/src/input.c +++ b/src/input.c @@ -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) {