aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIVisualisationControl.cpp
diff options
context:
space:
mode:
authormonkeyman_67156 <monkeyman_67156@svn>2010-01-24 07:35:34 +0000
committermonkeyman_67156 <monkeyman_67156@svn>2010-01-24 07:35:34 +0000
commit798ba45f482be8f2b6c441e18d8432535411a44c (patch)
tree2cabddf2694eb54c6a4cdd6a180c437b2ff88460 /guilib/GUIVisualisationControl.cpp
parent84c0a0b7328bcb68c0928950c9f058998d234766 (diff)
changed: misc. guilib cleanups
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27131 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIVisualisationControl.cpp')
-rw-r--r--guilib/GUIVisualisationControl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIVisualisationControl.cpp b/guilib/GUIVisualisationControl.cpp
index 290b4eada6..8af58e1554 100644
--- a/guilib/GUIVisualisationControl.cpp
+++ b/guilib/GUIVisualisationControl.cpp
@@ -140,7 +140,7 @@ void CGUIVisualisationControl::LoadVisualisation()
return;
CVisualisationFactory factory;
- CStdString strVisz, strModule;
+ CStdString strVisz;
m_currentVis = g_guiSettings.GetString("musicplayer.visualisation");
if (m_currentVis.Equals("None"))
@@ -151,7 +151,7 @@ void CGUIVisualisationControl::LoadVisualisation()
int colonPos = m_currentVis.ReverseFind(":");
if ( colonPos > 0 )
{
- strModule = m_currentVis.Mid( colonPos+1 );
+ CStdString strModule = m_currentVis.Mid( colonPos+1 );
strVisz = m_currentVis.Mid( 0, colonPos );
m_pVisualisation = factory.LoadVisualisation(strVisz, strModule);
}