From 060f63e9dbcabd79ccc7f4b7b7ad9293e185f3f8 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Sat, 27 Feb 2016 21:22:09 +0100 Subject: [PATCH] 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. --- core/logic/ExtensionSys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/logic/ExtensionSys.cpp b/core/logic/ExtensionSys.cpp index 160c7a3c..de08d10f 100644 --- a/core/logic/ExtensionSys.cpp +++ b/core/logic/ExtensionSys.cpp @@ -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::iterator p_iter; for (p_iter=pOther->m_Dependents.begin();