Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2018-09-10 14:49:25 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-09-10 14:49:25 +0300
commit1516c46d0b0f0428f7ff49a1860437f07e48beee (patch)
tree5097219c0ba2ab012a7b03c352aa4300ab3720f6 /xs
parent333bc1523a18f6d4314a7c92e89d157b5c90276a (diff)
parent78bc688a7fa601900502cf1821bd396e2a946af8 (diff)
Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev
Diffstat (limited to 'xs')
-rw-r--r--xs/src/libslic3r/GCodeTimeEstimator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/GCodeTimeEstimator.cpp b/xs/src/libslic3r/GCodeTimeEstimator.cpp
index f4f6472e5..7471367fe 100644
--- a/xs/src/libslic3r/GCodeTimeEstimator.cpp
+++ b/xs/src/libslic3r/GCodeTimeEstimator.cpp
@@ -301,7 +301,7 @@ namespace Slic3r {
if (((_mode == Normal) && (gcode_line == Normal_First_M73_Output_Placeholder_Tag)) ||
((_mode == Silent) && (gcode_line == Silent_First_M73_Output_Placeholder_Tag)))
{
- sprintf(time_line, time_mask.c_str(), std::to_string(0), _get_time_minutes(_time).c_str());
+ sprintf(time_line, time_mask.c_str(), "0", _get_time_minutes(_time).c_str());
gcode_line = time_line;
}
else