summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 381e3102d..ac7caae34 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -166,8 +166,8 @@ void ItemShortcutContainer::draw(gcn::Graphics *graphics)
}
}
}
- else if (itemId < SKILL_MIN_ID && spellManager) // this is magic shortcut
- {
+ else if (itemId < SKILL_MIN_ID && spellManager)
+ { // this is magic shortcut
TextCommand *spell = spellManager->getSpellByItem(itemId);
if (spell)
{