diff options
author | bubnikv <bubnikv@gmail.com> | 2018-05-15 15:20:32 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-05-15 15:20:32 +0300 |
commit | 4b87f71bbc46e2b974850fab2846c2dfadd70fd2 (patch) | |
tree | 5c924561a0def743aa5a0245e177fb77f97dc059 /xs/src/libslic3r/GCode.cpp | |
parent | 868b400120c10dce17cfec77a8f394cbb3bc19c6 (diff) |
Fix of the previous commmit. gcc and clang rightfully complained about a typo.
Diffstat (limited to 'xs/src/libslic3r/GCode.cpp')
-rw-r--r-- | xs/src/libslic3r/GCode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 5e5b74efc..b581b3e76 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -798,7 +798,7 @@ void GCode::_do_export(Print &print, FILE *file, GCodePreviewData *preview_data) _writeln(file, this->placeholder_parser_process("end_filament_gcode", print.config.end_filament_gcode.get_at(m_writer.extruder()->id()), m_writer.extruder()->id(), &config)); } else { for (const std::string &end_gcode : print.config.end_filament_gcode.values) - _writeln(file, this->placeholder_parser_process("end_filament_gcode", end_gcode, (unsigned int)(&end_gcode - &print.config.end_filament_gcode.values.front(), &config))); + _writeln(file, this->placeholder_parser_process("end_filament_gcode", end_gcode, (unsigned int)(&end_gcode - &print.config.end_filament_gcode.values.front()), &config)); } _writeln(file, this->placeholder_parser_process("end_gcode", print.config.end_gcode, m_writer.extruder()->id(), &config)); } |