--- a/QScintilla/Editor.py Thu May 13 14:36:46 2010 +0200 +++ b/QScintilla/Editor.py Fri May 14 12:31:34 2010 +0200 @@ -4635,7 +4635,7 @@ try: f = open(fname, "w", encoding = "utf-8") - f.write("%s%s" % (name, os.linesep)) + f.write("%s%s" % (name, "\n")) f.write(self.macros[name].save()) f.close() except IOError: