diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-25 02:11:12 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-25 02:11:12 (GMT) |
commit | eff1f7f8c91cee34c584a89c5d09e401c609f93e (patch) | |
tree | 543ae3bd3587dd3a97fbaa660ad9aaceb5a3823f /src/surface.cc | |
parent | 16c05eb533f94799a80f5b98c01e952e1cfe337b (diff) |
Ported printutils away from Qt
Diffstat (limited to 'src/surface.cc')
-rw-r--r-- | src/surface.cc | 4 |
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; } |