]> git.donarmstrong.com Git - lilypond.git/commitdiff
long standing thinko: don't truncate -d value.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 10 Jan 2007 02:44:04 +0000 (03:44 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 10 Jan 2007 02:44:42 +0000 (03:44 +0100)
lily/main.cc

index 5675f354be6dd4493376a51420e346be5d84be9f..30b9926423323c6d8e0da1879f8f8f3c0f73b131 100644 (file)
@@ -505,7 +505,7 @@ parse_argv (int argc, char **argv)
            if (eq != NPOS)
              {
                key = arg.substr (0, eq);
-               val = arg.substr (eq + 1, key.length () - 1);
+               val = arg.substr (eq + 1, arg.length () - 1);
              }
 
            init_scheme_variables