Fix adding newline in the copyright headers script.

This commit is contained in:
Relintai 2023-12-17 22:35:47 +01:00
parent 337c99e52f
commit b3bb02b250

View File

@ -79,6 +79,8 @@ while line == "" or line.startswith("#ifndef") or line.startswith("#define"): #
line = fileread.readline()
line = line.strip()
line += "\n"
if orig_lines != "":
text = orig_lines + "\n" + text