summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index 258157c3..1857ddbf 100644
--- a/textual.cc
+++ b/textual.cc
@@ -164,7 +164,7 @@ value_expr_t * parse_amount(const char * text, amount_t& amt,
if (altbuf)
delete[] altbuf;
- if (! compute_amount(expr, amt, xact))
+ if (! compute_amount(expr, amt, &xact))
throw parse_error(path, linenum, "Value expression yields a balance");
}