From fec05d430baebdcd93607b69750513cc4c606be6 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 2 Jan 2018 11:14:22 +0100 Subject: [PATCH] Fixed a typo in fprintf --- xs/src/libslic3r/GCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 6da860d36..47bd6bc07 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -786,7 +786,7 @@ void GCode::_do_export(Print &print, FILE *file) print.total_extruded_volume = print.total_extruded_volume + extruded_volume; } _write_format(file, "; total filament cost = %.1lf\n", print.total_cost); - _write_format(file, "; estimated printing time = %s\n", m_time_estimator.get_time_hms()); + _write_format(file, "; estimated printing time = %s\n", m_time_estimator.get_time_hms().c_str()); // Append full config. _write(file, "\n");