MQ2Utilities.cpp, around line 1008
Code: Select all
PEQCONTAINERWINDOW FindContainerForContents(PCONTENTS pContents)
{
if (!ppContainerMgr || !pContainerMgr) return NULL;
PEQ_CONTAINERWND_MANAGER pMgr = (PEQ_CONTAINERWND_MANAGER)pContainerMgr;
for (int j = 0; j < 25; j++)
{
[color=red]if (pMgr->pPCContainers[j] && (pMgr->pPCContainers[j]->pContents == pContents))[/color]
return (pMgr->pPCContainers[j]);
}
return NULL;
}
