summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/textual.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 7f2f2a69..8a055251 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -490,9 +490,9 @@ void instance_t::default_commodity_directive(char * line)
amt.commodity().add_flags(COMMODITY_KNOWN);
}
-void instance_t::default_account_directive(char * args)
+void instance_t::default_account_directive(char * line)
{
- context.journal->bucket = top_account()->find_account(skip_ws(name));
+ context.journal->bucket = top_account()->find_account(skip_ws(line));
context.journal->bucket->add_flags(ACCOUNT_KNOWN);
}