Fixed duff return code test

This commit is contained in:
locka%iol.ie 1999-03-22 19:06:55 +00:00
parent 43cac2bed5
commit 7b646008cb

View File

@ -89,7 +89,7 @@ void tstDrillerLevel(BrowserInfo *pInfo, IHTMLElementCollection *pCollection, in
} }
CIPtr(IDispatch) cpDispColl; CIPtr(IDispatch) cpDispColl;
cpElem->get_all(&cpDispColl); hr = cpElem->get_all(&cpDispColl);
if (hr == S_OK) if (hr == S_OK)
{ {
CIPtr(IHTMLElementCollection) cpColl = cpDispColl; CIPtr(IHTMLElementCollection) cpColl = cpDispColl;