Fix bug for situation where no suitable index location is found.

[SVN r84180]
This commit is contained in:
John Maddock 2013-05-07 17:02:39 +00:00
parent 557b5cc2c6
commit 580822e2f9

View File

@ -590,6 +590,8 @@ void process_node(boost::tiny_xml::element_ptr node, node_id* prev, title_info*
preferred_term = true;
}
parent = parent->parent.lock();
if(!parent)
break;
}
}
catch(const std::exception&){}