Fix extension filename lookup

This commit is contained in:
Fyren 2009-08-28 02:44:30 -07:00
parent 22622ccafe
commit 669b4cc69f

View File

@ -590,7 +590,7 @@ IExtension *CExtensionManager::FindExtensionByFile(const char *file)
for (iter=m_Libs.begin(); iter!=m_Libs.end(); iter++) for (iter=m_Libs.begin(); iter!=m_Libs.end(); iter++)
{ {
pExt = (*iter); pExt = (*iter);
if (pExt->IsSameFile(file)) if (pExt->IsSameFile(lookup))
{ {
return pExt; return pExt;
} }