summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-13 18:04:29 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-13 18:04:29 +0100
commit8747c724f120ea5e77e5ba83254c9bf2ce959a16 (patch)
treefd35c63b19aecc3627851c20ca0ea6ea71062498
parent15193ffb3b6558451045611572c9211f2593c062 (diff)
downloadfork-ledger-8747c724f120ea5e77e5ba83254c9bf2ce959a16.tar.gz
fork-ledger-8747c724f120ea5e77e5ba83254c9bf2ce959a16.tar.bz2
fork-ledger-8747c724f120ea5e77e5ba83254c9bf2ce959a16.zip
Strip annotations before handling bal assignments
-rw-r--r--src/textual.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index ba88dff4..5a47b75a 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1014,7 +1014,8 @@ post_t * instance_t::parse_post(char * line,
<< "POST assign: parsed amt = " << *post->assigned_amount);
amount_t& amt(*post->assigned_amount);
- value_t account_total(post->account->self_total(false));
+ value_t account_total(post->account->self_total(false)
+ .strip_annotations(keep_details_t()));
DEBUG("post.assign", "line " << linenum << ": "
"account balance = " << account_total);