summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-11-07 20:29:15 +0000
committerishmal <ishmal@users.sourceforge.net>2007-11-07 20:29:15 +0000
commit171ad80fdde7fa3f7d604d5b6effbbaf6bee7702 (patch)
tree12b937022845b71412e23e42d89a352581251f7c /buildtool.cpp
parentfix LaTeX extension to work with the new lxml lib (diff)
downloadinkscape-171ad80fdde7fa3f7d604d5b6effbbaf6bee7702.tar.gz
inkscape-171ad80fdde7fa3f7d604d5b6effbbaf6bee7702.zip
fix string size self-reference bug
(bzr r4040)
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp4
1 files 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 <stdio.h>
#include <fcntl.h>
@@ -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))
{