Merge pull request #697 from JunielKatarn/fix_m_PluginDir

Fix settings menu
This commit is contained in:
zilmar 2015-10-28 09:51:32 +11:00
commit 1928604400
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ void CPluginList::AddPluginFromDir ( CPath Dir)
}
Plugin.FullPath = Dir;
Plugin.FileName = ((stdstr &)Dir).substr(((stdstr &)m_PluginDir).length());
Plugin.FileName = Dir.GetDirectory().substr(m_PluginDir.GetDirectory().length());
if (GetProcAddress(hLib,"DllAbout") != NULL)
{