mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Fixed warnings on Windows
This commit is contained in:
parent
99700a5c52
commit
5b051459ed
@ -67,7 +67,7 @@ def write_controllers():
|
|||||||
for entry in sorted(controllers, key=lambda entry: entry[2]+"-"+entry[1]):
|
for entry in sorted(controllers, key=lambda entry: entry[2]+"-"+entry[1]):
|
||||||
line = "".join(entry) + "\n"
|
line = "".join(entry) + "\n"
|
||||||
line = line.replace("\t", " ")
|
line = line.replace("\t", " ")
|
||||||
if not line.endswith(",\n") and not line.endswith("*/\n"):
|
if not line.endswith(",\n") and not line.endswith("*/\n") and not line.endswith(",\r\n") and not line.endswith("*/\r\n"):
|
||||||
print("Warning: '%s' is missing a comma at the end of the line" % (line))
|
print("Warning: '%s' is missing a comma at the end of the line" % (line))
|
||||||
output.write(line)
|
output.write(line)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user