daid/Cura — pull request #581 by martinxyz (2013-10-03 17:52:36+00:00)
Title: fix filename when saving gcode

In the proposed filename, the last character was always missing.
Replace some similar string slicing/rfind with splitting.