Merge pull request #697 from JunielKatarn/fix_m_PluginDir
Fix settings menu
This commit is contained in:
commit
1928604400
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue