summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 16:22:08 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 16:22:08 -0600
commitff89cb9c4de8240d7a7f79406755a86d8d2d5f18 (patch)
tree519800e95f2bd53b029092f8aa5ee4fb689ce00c /src/textual.cc
parente493a3859c7c854b79e772ffb1c0a69f6868ac98 (diff)
downloadfork-ledger-ff89cb9c4de8240d7a7f79406755a86d8d2d5f18.tar.gz
fork-ledger-ff89cb9c4de8240d7a7f79406755a86d8d2d5f18.tar.bz2
fork-ledger-ff89cb9c4de8240d7a7f79406755a86d8d2d5f18.zip
Fixed a bug that was causing includes to crash
Fixes #661
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 2f09c063..4a384866 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -740,6 +740,7 @@ void instance_t::include_directive(char * line)
try {
instance_t instance(context_stack,
context_stack.get_current(), this);
+ instance.apply_stack.push_front(application_t("account", master));
instance.parse();
}
catch (...) {