summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-22 03:48:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-22 03:48:35 -0400
commitf0f2b34ea9db64bdabe65119d3fd265308e6d205 (patch)
treef574c98a695009a734a764991c095237c661334b /amount.cc
parent4bc29e1351faeba56cbfc1146fa1af33eba15f9d (diff)
downloadledger-f0f2b34ea9db64bdabe65119d3fd265308e6d205.tar.gz
ledger-f0f2b34ea9db64bdabe65119d3fd265308e6d205.tar.bz2
ledger-f0f2b34ea9db64bdabe65119d3fd265308e6d205.zip
More work toward getting my ledger data to parse.
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index 57f5942a..312c67c6 100644
--- a/amount.cc
+++ b/amount.cc
@@ -695,7 +695,7 @@ int amount_t::sign() const
bool amount_t::is_zero() const
{
if (! quantity)
- throw_(amount_error, "Cannot determine sign if an uninitialized amount is zero");
+ throw_(amount_error, "Cannot determine if an uninitialized amount is zero");
if (has_commodity()) {
if (quantity->prec <= commodity().precision())