summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-11 23:46:39 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-12 02:02:29 +0300
commit3a015df78179ac16fb3344beaa09f4902533f13f (patch)
tree27826b57657e5d78f61dc2020bcd0bbbe402bbd8
parent485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (diff)
downloadplus-3a015df78179ac16fb3344beaa09f4902533f13f.tar.gz
plus-3a015df78179ac16fb3344beaa09f4902533f13f.tar.bz2
plus-3a015df78179ac16fb3344beaa09f4902533f13f.tar.xz
plus-3a015df78179ac16fb3344beaa09f4902533f13f.zip
Fix code style.
-rw-r--r--src/progs/manaplus/actions/actions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 322599791..452f0c368 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -373,7 +373,8 @@ impHandler0(mouseClick)
if ((guiInput == nullptr) || (gui == nullptr))
return false;
- int mouseX, mouseY;
+ int mouseX;
+ int mouseY;
Gui::getMouseState(mouseX, mouseY);
guiInput->simulateMouseClick(mouseX, mouseY, MouseButton::RIGHT);
return true;