diff options
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc index e22d1d28..d6fd966b 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -690,9 +690,9 @@ void textual_parser_t::instance_t::general_directive(char * line) break; } - static const std::size_t textdir_len = std::strlen("ledger_textdir_"); + static const std::size_t textdir_len = std::strlen("dir_"); scoped_array<char> directive(new char[std::strlen(p) + textdir_len + 1]); - std::strcpy(directive.get(), "ledger_textdir_"); + std::strcpy(directive.get(), "dir_"); std::strcpy(directive.get() + textdir_len, p); if (expr_t::ptr_op_t op = lookup(directive.get())) { |