diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-08 16:29:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-08 16:29:20 +0300 |
commit | ab38f105a42355cbf207bf4da48c0c386892781c (patch) | |
tree | 713b45108c805241fe5714146dfe0aff2bfd2d13 /src/gui/widgets/itemcontainer.cpp | |
parent | f8042d0cf07ebb4b10094ac242591d8edf7067ba (diff) | |
download | manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.gz manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.bz2 manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.xz manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 7 |
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()); |