From ea3b386062e62379c546239f2e95cb1e11c56d23 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 1 Aug 2008 03:44:22 -0400 Subject: Added a new 'format' debugging command, which dissects the formatting expression in its argument. --- option.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'option.cc') diff --git a/option.cc b/option.cc index 0581dab5..6cd9abbb 100644 --- a/option.cc +++ b/option.cc @@ -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++ = '_'; -- cgit v1.2.3