Extremely obvious bug impacting some control users. Enclosed a section of code with an else statement. No bug number.

git-svn-id: svn://10.0.0.236/trunk@111299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
locka%iol.ie 2002-01-03 14:29:06 +00:00
parent 658087c332
commit 8433305171

View File

@ -1383,13 +1383,15 @@ HRESULT CMozillaBrowser::LoadBrowserHelpers()
{
NG_TRACE(_T("Registered browser helper object cannot be created\n"));;
}
else
{
// Set the object to point at the browser
cpObjectWithSite->SetSite((IWebBrowser2 *) this);
// Set the object to point at the browser
cpObjectWithSite->SetSite((IWebBrowser2 *) this);
// Store in the list
CComUnkPtr cpUnk = cpObjectWithSite;
mBrowserHelperList[mBrowserHelperListCount++] = cpUnk;
// Store in the list
CComUnkPtr cpUnk = cpObjectWithSite;
mBrowserHelperList[mBrowserHelperListCount++] = cpUnk;
}
}
delete []pClassList;