Fix string castint making settings menu break

This commit is contained in:
Julio C. Rocha 2015-10-27 00:55:06 -07:00
parent fed00d697f
commit 74355d34d8
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)
{