(update_global_info): If the global database is not found, return -1.
else if (im_info->maps)
{
plist = (MPlist *) mplist_get (im_info->maps, map_name);
- if (! plist)
+ if (! plist && im_info->configured_vars)
{
MPlist *p = mplist__assq (im_info->configured_vars, map_name);
{
MDatabase *mdb = mdatabase_find (Minput_method, Mt, Mnil, Mglobal);
+ if (! mdb)
+ return -1;
global_info = new_im_info (mdb, Mt, Mnil, Mglobal, im_info_list);
}
if (! global_info->mdb