QScintilla/Editor.py

changeset 245
de5c4effc747
parent 230
2cde09c26384
child 252
05692e3d37bf
--- 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:

eric ide

mercurial