summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-29 21:38:20 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-29 21:44:21 -0400
commit1bb29cdbb7fa63d2fd5312e3fc81bcc489aaab5d (patch)
treed5c7e3897763a8a9d4b05c438d1c1bcb8020ee04 /amount.cc
parent42e1d725aa9deb41396ba4c73c8499c7c3798508 (diff)
downloadledger-1bb29cdbb7fa63d2fd5312e3fc81bcc489aaab5d.tar.gz
ledger-1bb29cdbb7fa63d2fd5312e3fc81bcc489aaab5d.tar.bz2
ledger-1bb29cdbb7fa63d2fd5312e3fc81bcc489aaab5d.zip
The register report has begun printing real data, although not all the pieces
are in place yet and the formatting is still off.
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/amount.cc b/amount.cc
index 4ed30087..d96913d3 100644
--- a/amount.cc
+++ b/amount.cc
@@ -102,8 +102,8 @@ struct amount_t::bigint_t : public supports_flags<>
DEBUG("ledger.validate", "amount_t::bigint_t: prec > 128");
return false;
}
- if (ref > 128) {
- DEBUG("ledger.validate", "amount_t::bigint_t: ref > 128");
+ if (ref > 16535) {
+ DEBUG("ledger.validate", "amount_t::bigint_t: ref > 16535");
return false;
}
#if 0