Merge pull request #482 from peace-maker/ext_deps_name

Fix printing dependent extension name on unload
This commit is contained in:
Kyle Sanderson 2016-02-27 15:00:35 -08:00
commit 0d80d3c57c

View File

@ -1173,7 +1173,7 @@ void CExtensionManager::OnRootConsoleCommand(const char *cmdname, const ICommand
/* Will our dependent care? */
if (!pExt->GetAPI()->QueryInterfaceDrop((*i_iter).iface))
{
rootmenu->ConsolePrint(" -> %s", pExt->GetFilename());
rootmenu->ConsolePrint(" -> %s", pOther->GetFilename());
/* Add to plugin unload list */
List<CPlugin *>::iterator p_iter;
for (p_iter=pOther->m_Dependents.begin();