summaryrefslogtreecommitdiffstats
path: root/src/ui/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/check.cpp')
-rw-r--r--src/ui/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/check.cpp b/src/ui/check.cpp
index e9732a4..a64fb5f 100644
--- a/src/ui/check.cpp
+++ b/src/ui/check.cpp
@@ -77,7 +77,7 @@ bool CCheck::EventProcess(const Event &event)
(m_state & STATE_VISIBLE) &&
(m_state & STATE_ENABLE) )
{
- if ( CControl::Detect(event.pos) )
+ if ( CControl::Detect(event.mouseButton.pos) )
{
Event newEvent = event;
newEvent.type = m_eventType;