diff options
Diffstat (limited to 'core/object/make_virtuals.py')
-rw-r--r-- | core/object/make_virtuals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/make_virtuals.py b/core/object/make_virtuals.py index ae70981f72..e2a8e656b7 100644 --- a/core/object/make_virtuals.py +++ b/core/object/make_virtuals.py @@ -201,7 +201,7 @@ def run(target, source, env): txt += "#endif // GDVIRTUAL_GEN_H\n" - with open(target[0], "w") as f: + with open(target[0], "w", encoding="utf-8", newline="\n") as f: f.write(txt) |