diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2007-02-07 13:07:16 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2007-02-07 13:07:16 +0000 |
| commit | db0437f67fa19de773e58d7a482cd2aabb65cf90 (patch) | |
| tree | 644c8364e4a0ea8e0572a812847c7150ec99076d | |
| parent | Fix markup errors. (diff) | |
| download | inkscape-db0437f67fa19de773e58d7a482cd2aabb65cf90.tar.gz inkscape-db0437f67fa19de773e58d7a482cd2aabb65cf90.zip | |
Fix parsing of bools
(bzr r2337)
| -rw-r--r-- | buildtool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtool.cpp b/buildtool.cpp index f78bf8ee8..e2c28b4c0 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -4,7 +4,7 @@ * Authors: * Bob Jamison * - * Copyright (C) 2006 Bob Jamison + * Copyright (C) 2006-2007 Bob Jamison * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -6500,7 +6500,7 @@ public: return false; if (!parent.getAttribute(elem, "strip", s)) return false; - if (!getBool(s, doStrip)) + if (s.size()>0 && !getBool(s, doStrip)) return false; if (!parent.getAttribute(elem, "symfile", symFileName)) return false; @@ -6764,7 +6764,7 @@ public: return false; if (!parent.getAttribute(elem, "owndir", s)) return false; - if (!getBool(s, owndir)) + if (s.size()>0 && !getBool(s, owndir)) return false; std::vector<Element *> children = elem->getChildren(); @@ -7521,7 +7521,7 @@ public: * */ virtual String version() - { return "BuildTool v0.6, 2006 Bob Jamison"; } + { return "BuildTool v0.6.1, 2006 Bob Jamison"; } /** * Overload a <property> |
