summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 06:12:10 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 06:12:10 -0500
commitcb9991093d3381333358066b86a2dadc3a5a738c (patch)
treeef1c140d48836294a739dd38582c8e57c46f4a25 /src/xact.cc
parentaa3bade0506f2dba066da9adff1d747635d0e118 (diff)
downloadfork-ledger-cb9991093d3381333358066b86a2dadc3a5a738c.tar.gz
fork-ledger-cb9991093d3381333358066b86a2dadc3a5a738c.tar.bz2
fork-ledger-cb9991093d3381333358066b86a2dadc3a5a738c.zip
Changed a use of balance_error to amount_error
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index a84b4dca..f2694976 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -412,7 +412,7 @@ bool xact_base_t::verify()
continue;
if (post->amount.commodity() == post->cost->commodity())
- throw_(balance_error,
+ throw_(amount_error,
_("A posting's cost must be of a different commodity than its amount"));
}