This commit is contained in:
AJ Kelly
2011-09-26 17:57:05 -05:00
parent e590230968
commit 0e56c9aeaf
+1 -1
View File
@@ -463,7 +463,7 @@ void ThemeManager::RunLuaScripts( const RString &sMask, bool bUseThemeDir )
* scripts call GetThemeName(), it'll return the theme the script is in. */ * scripts call GetThemeName(), it'll return the theme the script is in. */
m_sCurThemeName = iter->sThemeName; m_sCurThemeName = iter->sThemeName;
const RString &sThemeDir = bUseThemeDir ? GetThemeDirFromName( m_sCurThemeName ) : "/"; const RString &sScriptDir = bUseThemeDir ? GetThemeDirFromName( m_sCurThemeName ) : "/";
vector<RString> asElementPaths; vector<RString> asElementPaths;
// get files from directories // get files from directories