summaryrefslogtreecommitdiff
path: root/src/surface.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-07 02:59:40 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-07 02:59:40 (GMT)
commitf73b8289f6db33713ae0f838649b47b56024f0ff (patch)
tree25bfcb21f98334551de15bcf83be476dc318def4 /src/surface.cc
parent7bec474b34011dcb0c417ad09d6c84bd833f7535 (diff)
Correctly escape special characters in dumped strings. Fixes dumptest_import_dxf-tests
Diffstat (limited to 'src/surface.cc')
-rw-r--r--src/surface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/surface.cc b/src/surface.cc
index ec5d790..1a5f9bd 100644
--- a/src/surface.cc
+++ b/src/surface.cc
@@ -209,8 +209,8 @@ std::string SurfaceNode::toString() const
{
std::stringstream stream;
- stream << this->name() << "(file = \"" << this->filename
- << "\", center = " << (this->center ? "true" : "false") << ")";
+ stream << this->name() << "(file = " << this->filename << ", "
+ "center = " << (this->center ? "true" : "false") << ")";
return stream.str();
}
contact: Jan Huwald // Impressum