summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-10-31 00:14:47 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-10-31 00:14:47 -0500
commit3b9b2cf908c27dff7b85511e9283119485f9439e (patch)
tree6a9ce2e28019d3f696c09694cd4588a8dc9049f6 /src/textual.cc
parent0ff33003e8ea5e6278c5c7aec29e812d44485944 (diff)
downloadfork-ledger-3b9b2cf908c27dff7b85511e9283119485f9439e.tar.gz
fork-ledger-3b9b2cf908c27dff7b85511e9283119485f9439e.tar.bz2
fork-ledger-3b9b2cf908c27dff7b85511e9283119485f9439e.zip
Corrected a typo
Diffstat (limited to 'src/textual.cc')
-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);
}