mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-25 01:21:57 +01:00
Check the path instead of the plugin name to check if a plugin was loaded.
This commit is contained in:
parent
8c99eb42d1
commit
d4371da0a3
@ -116,7 +116,7 @@ ContentHome::ContentHome():ContentTemplate()
|
||||
|
||||
for (std::vector<PluginInformation *>::iterator itOther = pluginListLoaded.begin() ; itOther != pluginListLoaded.end(); ++itOther) {
|
||||
PluginInformation * otherPlugin = *itOther;
|
||||
if(otherPlugin->getName().compare(curPlugin->getName()) == 0) {
|
||||
if(otherPlugin->getPath().compare(curPlugin->getPath()) == 0) {
|
||||
element->setValue(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user