summaryrefslogtreecommitdiffstats
path: root/src/ui/shortcut.cpp
diff options
context:
space:
mode:
authorMichał Konopacki <konopacki.m@gmail.com>2012-09-19 22:17:28 +0200
committerMichał Konopacki <konopacki.m@gmail.com>2012-09-19 22:17:28 +0200
commit57d33d79ea570773d84ad81d4a61f50e079979ef (patch)
tree562be3e3ee4a5650fc990baee6403c911ea6f89f /src/ui/shortcut.cpp
parent1a79137e904eb07c17df2596e6b8aa9310ff22bd (diff)
downloadcolobot-57d33d79ea570773d84ad81d4a61f50e079979ef.tar.gz
colobot-57d33d79ea570773d84ad81d4a61f50e079979ef.tar.bz2
colobot-57d33d79ea570773d84ad81d4a61f50e079979ef.zip
Changes in Ui, solves part of #47
Diffstat (limited to 'src/ui/shortcut.cpp')
-rw-r--r--src/ui/shortcut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/shortcut.cpp b/src/ui/shortcut.cpp
index 8fe62ba..c8d3890 100644
--- a/src/ui/shortcut.cpp
+++ b/src/ui/shortcut.cpp
@@ -69,7 +69,7 @@ bool CShortcut::EventProcess(const Event &event)
if ( event.type == EVENT_MOUSE_BUTTON_DOWN &&
event.mouseButton.button == 1)
{
- if ( CControl::Detect(event.pos) )
+ if ( CControl::Detect(event.mouseButton.pos) )
{
Event newEvent = event;
newEvent.type = m_eventType;