summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-11-12 02:29:10 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-11-12 02:30:04 -0600
commit63712728e1e39557aa8ec35e1a4cf4e56c83e121 (patch)
treecadd507ab12e6eca27a238e4673c29e461ad284c /src/textual.cc
parent484e54c2b38e373adfa2c7956f804ca1f7414a0e (diff)
downloadfork-ledger-63712728e1e39557aa8ec35e1a4cf4e56c83e121.tar.gz
fork-ledger-63712728e1e39557aa8ec35e1a4cf4e56c83e121.tar.bz2
fork-ledger-63712728e1e39557aa8ec35e1a4cf4e56c83e121.zip
Properly handle metadata tags on auto-postings
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 8a055251..6106914f 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -575,7 +575,7 @@ void instance_t::automated_xact_directive(char * line)
item = ae.get();
// This is a trailing note, and possibly a metadata info tag
- item->append_note(p + 1, *context.scope, true);
+ ae->append_note(p + 1, *context.scope, true);
item->add_flags(ITEM_NOTE_ON_NEXT_LINE);
item->pos->end_pos = context.curr_pos;
item->pos->end_line++;