Dedent a huge block of code.
This commit is contained in:
parent
370710c0ff
commit
2b3da56fb5
@ -1142,11 +1142,11 @@ bool CPluginManager::LoadOrRequireExtensions(CPlugin *pPlugin, unsigned int pass
|
|||||||
for (uint32_t i=0; i<num; i++)
|
for (uint32_t i=0; i<num; i++)
|
||||||
{
|
{
|
||||||
if (pBase->GetPubvarByIndex(i, &pubvar) != SP_ERROR_NONE)
|
if (pBase->GetPubvarByIndex(i, &pubvar) != SP_ERROR_NONE)
|
||||||
{
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
if (strncmp(pubvar->name, "__ext_", 6) == 0)
|
if (strncmp(pubvar->name, "__ext_", 6) != 0)
|
||||||
{
|
continue;
|
||||||
|
|
||||||
ext = (_ext *)pubvar->offs;
|
ext = (_ext *)pubvar->offs;
|
||||||
if (pBase->LocalToString(ext->file, &file) != SP_ERROR_NONE)
|
if (pBase->LocalToString(ext->file, &file) != SP_ERROR_NONE)
|
||||||
{
|
{
|
||||||
@ -1210,7 +1210,6 @@ bool CPluginManager::LoadOrRequireExtensions(CPlugin *pPlugin, unsigned int pass
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user