Commit ea95d93f authored by Nimetu's avatar Nimetu
Browse files

Fixed: Crash when trying to navigate to non-existing #anchor

parent 661473d9
......@@ -5220,6 +5220,11 @@ namespace NLGUI
void CGroupHTML::doBrowseAnchor(const std::string &anchor)
{
if (_Anchors.count(anchor) == 0)
{
return;
}
CInterfaceElement *pIE = _Anchors.find(anchor)->second;
if (pIE)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment