summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-09 23:16:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-09 23:16:57 +0300
commit7942effd7a11d3a43adb64b5a3e1dfb687f9fd75 (patch)
tree58afc9d62f02602c334ccb89cefaf1dd5cb4f1f9
parent5320fee7ffac2dd0667c403067e40e9f409dd5ad (diff)
downloadplus-7942effd7a11d3a43adb64b5a3e1dfb687f9fd75.tar.gz
plus-7942effd7a11d3a43adb64b5a3e1dfb687f9fd75.tar.bz2
plus-7942effd7a11d3a43adb64b5a3e1dfb687f9fd75.tar.xz
plus-7942effd7a11d3a43adb64b5a3e1dfb687f9fd75.zip
Fix style issue.
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 1b9a50c5b..86bd4e4d5 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2820,8 +2820,7 @@ void PopupMenu::addItemMenu(const Item *const item,
}
const bool firstMode = (item->isEquipment() == Equipm_true ?
- (item->isEquipped() != Equipped_true) :
- (item->getQuantity() == 1));
+ (item->isEquipped() != Equipped_true) : (item->getQuantity() == 1));
FOR_EACHP (STD_VECTOR<ItemMenuItem>::const_iterator, it, menu)
{