diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-01 03:44:22 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-01 03:44:22 -0400 |
commit | ea3b386062e62379c546239f2e95cb1e11c56d23 (patch) | |
tree | f200790541093b401b3a40af000a90daff7b6cb5 /option.cc | |
parent | 8ed99e621daccdebfe4fd81d9b3744ed1cdb375f (diff) | |
download | fork-ledger-ea3b386062e62379c546239f2e95cb1e11c56d23.tar.gz fork-ledger-ea3b386062e62379c546239f2e95cb1e11c56d23.tar.bz2 fork-ledger-ea3b386062e62379c546239f2e95cb1e11c56d23.zip |
Added a new 'format' debugging command, which dissects the formatting
expression in its argument.
Diffstat (limited to 'option.cc')
-rw-r--r-- | option.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,8 +39,8 @@ namespace { op_bool_tuple find_option(scope_t& scope, const string& name) { char buf[128]; - std::strcpy(buf, "option_"); - char * p = &buf[7]; + std::strcpy(buf, "opt_"); + char * p = &buf[4]; foreach (char ch, name) { if (ch == '-') *p++ = '_'; |