summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-11 03:28:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-11 03:28:56 +0300
commit6bde574ad29e04b0a355cea2915e4e48bd1d56f4 (patch)
tree7a5048566925179dc81acad04b82619fed8b2007 /src/gui/widgets/itemshortcutcontainer.cpp
parent7f905e347c1312b4e64e466f845dc5edb5fc4867 (diff)
downloadManaVerse-6bde574ad29e04b0a355cea2915e4e48bd1d56f4.tar.gz
ManaVerse-6bde574ad29e04b0a355cea2915e4e48bd1d56f4.tar.bz2
ManaVerse-6bde574ad29e04b0a355cea2915e4e48bd1d56f4.tar.xz
ManaVerse-6bde574ad29e04b0a355cea2915e4e48bd1d56f4.zip
Fix code style.
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)
{