diff options
author | Trashguy <trashguy@gmail.com> | 2024-10-11 12:21:42 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-13 15:05:24 -0400 |
commit | 9901f655fb46bd345770ad5f4a1638c4051b1816 (patch) | |
tree | bb22b4881145f122568c8f2e51e912078ad1b4fc /misc/scripts/header_guards.py | |
parent | 6699ae7897658e44efc3cfb2cba91c11a8f5aa6a (diff) | |
download | redot-engine-9901f655fb46bd345770ad5f4a1638c4051b1816.tar.gz |
Rebrand Godot 4.3 to Redot
Diffstat (limited to 'misc/scripts/header_guards.py')
-rwxr-xr-x | misc/scripts/header_guards.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/scripts/header_guards.py b/misc/scripts/header_guards.py index fed418db1e..58d5f66633 100755 --- a/misc/scripts/header_guards.py +++ b/misc/scripts/header_guards.py @@ -25,14 +25,14 @@ for file in sys.argv[1:]: if sline == "": # Skip empty lines at the top. continue - if sline.startswith("/**********"): # Godot header starts this way. + if sline.startswith("/**********"): # Redot header starts this way. header_start = idx else: - HEADER_CHECK_OFFSET = 0 # There is no Godot header. + HEADER_CHECK_OFFSET = 0 # There is no Redot header. break else: - if not sline.startswith("*") and not sline.startswith("/*"): # Not in the Godot header anymore. - HEADER_CHECK_OFFSET = idx + 1 # The include should be two lines below the Godot header. + if not sline.startswith("*") and not sline.startswith("/*"): # Not in the Redot header anymore. + HEADER_CHECK_OFFSET = idx + 1 # The include should be two lines below the Redot header. break if HEADER_CHECK_OFFSET < 0: |