summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
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);