SCons: Fix generation of `disabled_classes.gen.h` after #91624

This commit is contained in:
scgm0 2024-05-12 17:54:13 +08:00 committed by Rémi Verschelde
parent 4219af202d
commit 973d3a472d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def disabled_class_builder(target, source, env):
for c in source[0].read():
cs = c.strip()
if cs != "":
file.write(f"#define ClassDB_Disable_{cs} 1")
file.write(f"#define ClassDB_Disable_{cs} 1\n")
env.CommandNoCache("disabled_classes.gen.h", env.Value(env.disabled_classes), env.Run(disabled_class_builder))