summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index 4662dbad..d1668e56 100644
--- a/amount.cc
+++ b/amount.cc
@@ -478,7 +478,7 @@ int amount_t::sign() const
bool amount_t::operator OP(const amount_t& amt) const \
{ \
if (! quantity) \
- return amt OP 0; \
+ return 0 OP amt; \
if (! amt.quantity) \
return *this OP 0; \
\