typo. small fix for a null.

This commit is contained in:
Lars Brubaker 2015-05-19 15:37:51 -07:00
parent e4ad22f57e
commit 4a2e7677e9
2 changed files with 5 additions and 2 deletions

View file

@ -1752,7 +1752,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication
string resumeGCode = ActiveSliceSettings.Instance.GetActiveValue("resume_gcode");
int lastIndexAdded = InjectGCode(resumeGCode, injectionStartIndex);
// put in the code to return to return to our pre-pause postion
// put in the code to return to our pre-pause postion
lastIndexAdded = InjectGCode("G0 X{0:0.000} Y{1:0.000} Z{2:0.000} F{3}".FormatWith(currentDestination.x, currentDestination.y, currentDestination.z, currentFeedRate), injectionStartIndex);
DoPause();
}