Fix printing dependent extension name

Typo which will print the name of the extension being unloaded instead
of the one which would be unloaded as well because of it.
This commit is contained in:
Peace-Maker 2016-02-27 21:22:09 +01:00
parent e243de0538
commit 060f63e9db

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();