From e8b75de3d28438673d1fc13cf4802dc781f5e635 Mon Sep 17 00:00:00 2001 From: handa Date: Sat, 7 Jan 2006 02:17:58 +0000 Subject: [PATCH] (load_branch): Confirm that maps is not NULL. --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4