diff options
author | Brad Pitcher <bradpitcher@gmail.com> | 2011-10-26 02:22:14 (GMT) |
---|---|---|
committer | Brad Pitcher <bradpitcher@gmail.com> | 2011-10-26 02:22:14 (GMT) |
commit | ea7e4988d44249946b620d5973b230cf1a0606ca (patch) | |
tree | 2e3a5c03b78479298c64510356c7b10b9598ea71 /src/value.cc | |
parent | b64de29a302fa09f4e9409f57d344c602566e442 (diff) | |
parent | ff6d6cda13040e69ef15bb8989ca0f436a8020cc (diff) |
Merge branch 'master' of https://github.com/openscad/openscad into win32
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/value.cc b/src/value.cc index 685bf81..6685594 100644 --- a/src/value.cc +++ b/src/value.cc @@ -352,19 +352,19 @@ std::string Value::toString() const stream << ']'; break; case RANGE: - stream << "[ " + stream << '[' << this->range_begin << " : " << this->range_step << " : " << this->range_end - << " ]"; + << ']'; break; case NUMBER: stream << this->num; break; case BOOL: - stream << this->b; + stream << (this->b ? "true" : "false"); break; default: stream << "undef"; |