summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-08 16:29:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-08 16:29:20 +0300
commitab38f105a42355cbf207bf4da48c0c386892781c (patch)
tree713b45108c805241fe5714146dfe0aff2bfd2d13 /src/gui/widgets/itemcontainer.cpp
parentf8042d0cf07ebb4b10094ac242591d8edf7067ba (diff)
downloadmanaverse-ab38f105a42355cbf207bf4da48c0c386892781c.tar.gz
manaverse-ab38f105a42355cbf207bf4da48c0c386892781c.tar.bz2
manaverse-ab38f105a42355cbf207bf4da48c0c386892781c.tar.xz
manaverse-ab38f105a42355cbf207bf4da48c0c386892781c.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index f7dec4452..4849591a6 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -595,11 +595,12 @@ void ItemContainer::mouseReleased(MouseEvent &event)
inventory = PlayerInfo::getInventory();
}
else if (src == DRAGDROP_SOURCE_INVENTORY
- && (dst == DRAGDROP_SOURCE_NPC
#ifdef EATHENA_SUPPORT
- || dst == DRAGDROP_SOURCE_MAIL
+ && (dst == DRAGDROP_SOURCE_NPC
+ || dst == DRAGDROP_SOURCE_MAIL))
+#else
+ && dst == DRAGDROP_SOURCE_NPC)
#endif
- ))
{
inventory = PlayerInfo::getInventory();
const Item *const item = inventory->getItem(dragDrop.getTag());