summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
commitb474de4a54c9b1d4d863971e40b807588d554436 (patch)
tree761e71f86ea232d1688ee2838bd2294c59dea947 /src/actionmanager.cpp
parenta316d537dce50f4b4e1e10f5c26a7851baddbd8b (diff)
downloadmanaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.gz
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.bz2
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.xz
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.zip
replace defines to consts.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index f3762fa69..7a635f852 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -225,7 +225,7 @@ impHandler(shortcut)
if (itemShortcutWindow)
{
int num = itemShortcutWindow->getTabIndex();
- if (num >= 0 && num < SHORTCUT_TABS)
+ if (num >= 0 && num < static_cast<int>(SHORTCUT_TABS))
{
itemShortcut[num]->useItem(event.action
- Input::KEY_SHORTCUT_1);