summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-07-06 05:53:44 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:14 -0400
commit29eeae9b1ccdd0b01d39a39fe56e7af80791f337 (patch)
tree69236538607e9407e94148d862c13a2a815fa073 /config.cc
parent66b4147958bf0a014b648b1e5b7bae52e6df9f01 (diff)
downloadfork-ledger-29eeae9b1ccdd0b01d39a39fe56e7af80791f337.tar.gz
fork-ledger-29eeae9b1ccdd0b01d39a39fe56e7af80791f337.tar.bz2
fork-ledger-29eeae9b1ccdd0b01d39a39fe56e7af80791f337.zip
(process_options): Corrected a long-standing error with using "--" to
separate payee regexps from account regexps.
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cc b/config.cc
index 737f51cb..7434fb1b 100644
--- a/config.cc
+++ b/config.cc
@@ -186,7 +186,7 @@ void config_t::process_options(const std::string& command,
(command == "b" && ! show_subtotal &&
display_predicate.empty()));
if (i != args_end)
- regexps_to_predicate(*this, command, i, args_end);
+ regexps_to_predicate(*this, command, ++i, args_end);
}
// Setup the default value for the display predicate