summaryrefslogtreecommitdiff
path: root/src/openscad.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/openscad.cc
parent16c05eb533f94799a80f5b98c01e952e1cfe337b (diff)
Ported printutils away from Qt
Diffstat (limited to 'src/openscad.cc')
-rw-r--r--src/openscad.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openscad.cc b/src/openscad.cc
index 9d5e44b..c687372 100644
--- a/src/openscad.cc
+++ b/src/openscad.cc
@@ -292,7 +292,7 @@ int main(int argc, char **argv)
fs::current_path(original_path);
std::ofstream fstream(csg_output_file);
if (!fstream.is_open()) {
- PRINTF("Can't open file \"%s\" for export", csg_output_file);
+ PRINTB("Can't open file \"%s\" for export", csg_output_file);
}
else {
fstream << tree.getString(*root_node) << "\n";
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
}
std::ofstream fstream(stl_output_file);
if (!fstream.is_open()) {
- PRINTF("Can't open file \"%s\" for export", stl_output_file);
+ PRINTB("Can't open file \"%s\" for export", stl_output_file);
}
else {
export_stl(&root_N, fstream);
@@ -341,7 +341,7 @@ int main(int argc, char **argv)
}
std::ofstream fstream(off_output_file);
if (!fstream.is_open()) {
- PRINTF("Can't open file \"%s\" for export", off_output_file);
+ PRINTB("Can't open file \"%s\" for export", off_output_file);
}
else {
export_off(&root_N, fstream);
@@ -356,7 +356,7 @@ int main(int argc, char **argv)
}
std::ofstream fstream(dxf_output_file);
if (!fstream.is_open()) {
- PRINTF("Can't open file \"%s\" for export", dxf_output_file);
+ PRINTB("Can't open file \"%s\" for export", dxf_output_file);
}
else {
export_dxf(&root_N, fstream);
contact: Jan Huwald // Impressum