Fix build breakage.RemoveElement does not take two arguments....

This commit is contained in:
mscott%netscape.com 1999-02-23 20:03:33 +00:00
Родитель 10d847cfbc
Коммит 1b2c074516
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -478,7 +478,7 @@ NS_IMETHODIMP nsMsgFolder::RemoveSubFolder (const nsIMsgFolder *which)
if(NS_SUCCEEDED(((nsISupports*)which)->QueryInterface(kISupportsIID,
(void**)&supports)))
{
mSubFolders->RemoveElement(supports, 0);
mSubFolders->RemoveElement(supports);
//make sure it's really been removed and no others exist.
PR_ASSERT(mSubFolders->IndexOf(supports, 0) == -1);
NS_RELEASE(supports);