summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-19 22:35:20 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 05:48:45 -0400
commit7adb262823377bc40085ba5b66a6448a3d58db0b (patch)
tree7c912b5cb8b9fbca0fa74f001d3eb5092b7e8d40
parent86a6af697433cd81fa842e6340a0ae2d8cb459a0 (diff)
downloadfork-ledger-7adb262823377bc40085ba5b66a6448a3d58db0b.tar.gz
fork-ledger-7adb262823377bc40085ba5b66a6448a3d58db0b.tar.bz2
fork-ledger-7adb262823377bc40085ba5b66a6448a3d58db0b.zip
*** no comment ***
-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; \
\