summaryrefslogtreecommitdiff
path: root/src/entry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.cc')
-rw-r--r--src/entry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.cc b/src/entry.cc
index 799de841..b43970e9 100644
--- a/src/entry.cc
+++ b/src/entry.cc
@@ -282,7 +282,7 @@ bool entry_base_t::finalize()
time_duration_t(0, 0, 0)),
entry ? entry->code : optional<string>());
- if (xact->amount.annotated()) {
+ if (xact->amount.is_annotated()) {
if (ann_amount.annotation().price) {
if (balance.is_null())
balance = basis_cost - final_cost;