projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b11eb
)
visualisation.enabled always returned true. Thanks to ronie
author
Jonathan Marshall
<jmarshall@never.you.mind>
Sat, 2 Apr 2011 21:16:35 +0000
(09:16 +1200)
committer
Jonathan Marshall
<jmarshall@never.you.mind>
Sat, 2 Apr 2011 21:17:04 +0000
(09:17 +1200)
xbmc/GUIInfoManager.cpp
patch
|
blob
|
history
diff --git
a/xbmc/GUIInfoManager.cpp
b/xbmc/GUIInfoManager.cpp
index
fdf01a9
..
fd30a40
100644
(file)
--- 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;