summaryrefslogtreecommitdiff
path: root/src/surface.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-25 02:11:12 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-25 02:11:12 (GMT)
commiteff1f7f8c91cee34c584a89c5d09e401c609f93e (patch)
tree543ae3bd3587dd3a97fbaa660ad9aaceb5a3823f /src/surface.cc
parent16c05eb533f94799a80f5b98c01e952e1cfe337b (diff)
Ported printutils away from Qt
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 fe1c6aa..e927beb 100644
--- a/src/surface.cc
+++ b/src/surface.cc
@@ -100,7 +100,7 @@ PolySet *SurfaceNode::evaluate_polyset(class PolySetEvaluator *) const
std::ifstream stream(filename.c_str());
if (!stream.good()) {
- PRINTF("WARNING: Can't open DAT file `%s'.", filename.c_str());
+ PRINTB("WARNING: Can't open DAT file '%s'.", filename);
return NULL;
}
@@ -132,7 +132,7 @@ PolySet *SurfaceNode::evaluate_polyset(class PolySetEvaluator *) const
}
catch (boost::bad_lexical_cast &blc) {
if (!stream.eof()) {
- PRINTF("WARNING: Illegal value in '%s': %s", filename.c_str(), blc.what());
+ PRINTB("WARNING: Illegal value in '%s': %s", filename % blc.what());
}
break;
}
contact: Jan Huwald // Impressum