Merge pull request #713 from aschwant/master
Fixed incorrect file name causing plugins to fail to load
This commit is contained in:
commit
1f6bebd5f1
|
@ -98,7 +98,9 @@ void CPluginList::AddPluginFromDir ( CPath Dir)
|
|||
}
|
||||
|
||||
Plugin.FullPath = Dir;
|
||||
Plugin.FileName = Dir.GetDirectory().substr(m_PluginDir.GetDirectory().length());
|
||||
std::string& fullPath = Dir;
|
||||
std::string& pluginPath = m_PluginDir;
|
||||
Plugin.FileName = fullPath.substr(pluginPath.length());
|
||||
|
||||
if (GetProcAddress(hLib,"DllAbout") != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue