aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIToggleButtonControl.cpp
diff options
context:
space:
mode:
authorMaestroDD <MaestroDD@svn>2010-01-20 15:02:51 +0000
committerMaestroDD <MaestroDD@svn>2010-01-20 15:02:51 +0000
commit01c4d6b96d62d34a7cddc99ad1c5db9af97604a6 (patch)
tree929a8d7a873fc7fceeaa8d5890b2bf7270b3877e /guilib/GUIToggleButtonControl.cpp
parent7947147e81ab0774cabb28c4a27bf5652decff25 (diff)
fixed build: don't use reserved 'id' as c++ member var
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27026 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIToggleButtonControl.cpp')
-rw-r--r--guilib/GUIToggleButtonControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIToggleButtonControl.cpp b/guilib/GUIToggleButtonControl.cpp
index 0cb79b4ad2..be669c79ba 100644
--- a/guilib/GUIToggleButtonControl.cpp
+++ b/guilib/GUIToggleButtonControl.cpp
@@ -63,7 +63,7 @@ void CGUIToggleButtonControl::Render()
bool CGUIToggleButtonControl::OnAction(const CAction &action)
{
- if (action.id == ACTION_SELECT_ITEM)
+ if (action.actionId == ACTION_SELECT_ITEM)
{
m_bSelected = !m_bSelected;
}