summaryrefslogtreecommitdiff
path: root/src/rotateextrude.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/rotateextrude.cc
parent7bec474b34011dcb0c417ad09d6c84bd833f7535 (diff)
Correctly escape special characters in dumped strings. Fixes dumptest_import_dxf-tests
Diffstat (limited to 'src/rotateextrude.cc')
-rw-r--r--src/rotateextrude.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rotateextrude.cc b/src/rotateextrude.cc
index e64f6f1..4e2db9e 100644
--- a/src/rotateextrude.cc
+++ b/src/rotateextrude.cc
@@ -115,8 +115,8 @@ std::string RotateExtrudeNode::toString() const
stream << this->name() << "(";
if (!this->filename.empty()) { // Ignore deprecated parameters if empty
stream <<
- "file = \"" << this->filename << "\", "
- "layer = \"" << this->layername << "\", "
+ "file = " << this->filename << ", "
+ "layer = " << QuotedString(this->layername) << ", "
"origin = [" << std::dec << this->origin_x << ", " << this->origin_y << "], "
"scale = " << this->scale << ", ";
}
contact: Jan Huwald // Impressum