From 0593b6304bdca960aa04d8c4ac6d0bde9a68458d Mon Sep 17 00:00:00 2001 From: ishmal Date: Wed, 7 Nov 2007 20:29:15 +0000 Subject: [PATCH] fix string size self-reference bug --- buildtool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtool.cpp b/buildtool.cpp index 94a430da3..42c6c3719 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -38,7 +38,7 @@ * */ -#define BUILDTOOL_VERSION "BuildTool v0.7.1, 2007 Bob Jamison" +#define BUILDTOOL_VERSION "BuildTool v0.7.2, 2007 Bob Jamison" #include #include @@ -8871,7 +8871,7 @@ static bool parseOptions(int argc, char **argv) } else if (arg.size()>2 && sequ(arg, "-D")) { - String s = arg.substr(2, s.size()); + String s = arg.substr(2, arg.size()); String name, value; if (!parseProperty(s, name, value)) { -- 2.30.2