diff options
-rw-r--r-- | src/openscad.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index 1c9c8df..c5933f3 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -339,9 +339,9 @@ int main(int argc, char **argv) fprintf(stderr, "Object isn't a valid 2-manifold! Modify your design.\n"); exit(1); } - std::ofstream fstream(stl_output_file); + std::ofstream fstream(off_output_file); if (!fstream.is_open()) { - PRINTF("Can't open file \"%s\" for export", stl_output_file); + PRINTF("Can't open file \"%s\" for export", off_output_file); } else { export_off(&root_N, fstream, NULL); |