aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2011-04-03 09:16:35 +1200
committerJonathan Marshall <jmarshall@never.you.mind>2011-04-03 09:17:04 +1200
commitadd3bf0839626430245a3248b229caae4aed5d70 (patch)
tree18342d90861ad4966c89fb84169aa71a48c59b9d
parentf0b11eb15577da3108a685397c3bb0474f0aa5d9 (diff)
visualisation.enabled always returned true. Thanks to ronie
-rw-r--r--xbmc/GUIInfoManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp
index fdf01a9c07..fd30a40fe9 100644
--- a/xbmc/GUIInfoManager.cpp
+++ b/xbmc/GUIInfoManager.cpp
@@ -2047,7 +2047,7 @@ bool CGUIInfoManager::GetBool(int condition1, int contextWindow, const CGUIListI
}
break;
case VISUALISATION_ENABLED:
- bReturn = g_guiSettings.GetString("musicplayer.visualisation") != "None";
+ bReturn = !g_guiSettings.GetString("musicplayer.visualisation").IsEmpty();
break;
default: // default, use integer value different from 0 as true
bReturn = GetInt(condition) != 0;