summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 21:18:49 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 21:18:49 -0600
commita3a877284a5d5bc5683c6f818037970b81cf664f (patch)
tree7fd3ebcd5c0027fe91e8cadc825068543e4e2237 /src/textual.cc
parent72b1a948def6c7a2e969d18faef9c2260ccf57e6 (diff)
downloadfork-ledger-a3a877284a5d5bc5683c6f818037970b81cf664f.tar.gz
fork-ledger-a3a877284a5d5bc5683c6f818037970b81cf664f.tar.bz2
fork-ledger-a3a877284a5d5bc5683c6f818037970b81cf664f.zip
Was missing an assignment of context.scope
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 51b5849b..839e871b 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -743,11 +743,13 @@ void instance_t::include_directive(char * line)
if (glob.match(base)) {
journal_t * journal = context.journal;
account_t * master = context.master;
+ account_t * scope = context.scope;
context_stack.push(*iter);
context_stack.get_current().journal = journal;
context_stack.get_current().master = master;
+ context_stack.get_current().scope = scope;
try {
instance_t instance(context_stack,
context_stack.get_current(), this);