summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 2ba076a3..a95e1d43 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -277,7 +277,7 @@ void TradeWindow::valueChanged(const gcn::SelectionEvent &event)
if (event.getSource() == mMyItemContainer &&
(item = mMyItemContainer->getSelectedItem()))
mPartnerItemContainer->selectNone();
- else if (item = mPartnerItemContainer->getSelectedItem())
+ else if ((item = mPartnerItemContainer->getSelectedItem()))
mMyItemContainer->selectNone();
}