From 8afd926a27af55862ce360970e05d747f249a0da Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 31 Jul 2008 05:05:24 -0400 Subject: Cleaned up some method names and documentation relating to values. --- entry.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entry.cc') diff --git a/entry.cc b/entry.cc index 4a9537ca..05fcfe9e 100644 --- a/entry.cc +++ b/entry.cc @@ -293,8 +293,8 @@ bool entry_base_t::finalize() (*x)->cost, none, (*x)->actual_date(), entry ? entry->code : optional()); - if ((*x)->amount.commodity_annotated()) { - if (ann_amount.annotation_details().price) { + if ((*x)->amount.annotated()) { + if (ann_amount.annotation().price) { if (balance.is_null()) balance = basis_cost - final_cost; else -- cgit v1.2.3