summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2011-10-26 02:22:14 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2011-10-26 02:22:14 (GMT)
commitea7e4988d44249946b620d5973b230cf1a0606ca (patch)
tree2e3a5c03b78479298c64510356c7b10b9598ea71 /src/value.cc
parentb64de29a302fa09f4e9409f57d344c602566e442 (diff)
parentff6d6cda13040e69ef15bb8989ca0f436a8020cc (diff)
Merge branch 'master' of https://github.com/openscad/openscad into win32
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc6
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";
contact: Jan Huwald // Impressum