summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/journal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/journal.cc b/src/data/journal.cc
index 32e45697..17294820 100644
--- a/src/data/journal.cc
+++ b/src/data/journal.cc
@@ -229,7 +229,7 @@ bool entry_base_t::finalize()
const balance_t * bal = NULL;
switch (balance.type()) {
case value_t::BALANCE_PAIR:
- bal = &balance.as_balance_pair().quantity;
+ bal = &balance.as_balance_pair().quantity();
// fall through...
case value_t::BALANCE: