diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-04 10:04:35 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-04 10:04:35 +0200 |
commit | f7a400878a4b979513de50e50ec599a3376216af (patch) | |
tree | 50463f82c2739b6144c72a1c39016debb48d2799 | |
parent | e1f18f6212fdab581c3bf732a51dcc5a9cdaa8e7 (diff) | |
download | afl++-f7a400878a4b979513de50e50ec599a3376216af.tar.gz |
fix typo in custom format
-rwxr-xr-x | .custom-format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.custom-format.py b/.custom-format.py index 81adbd85..b7416843 100755 --- a/.custom-format.py +++ b/.custom-format.py @@ -54,7 +54,7 @@ def custom_format(filename): if line.startswith("#define"): in_define = True - elif "/*" in line and not line.strip().startswith("/*") and line.endswith("*/") and len(line) < (COLUMN_LIMIT-2): + if "/*" in line and not line.strip().startswith("/*") and line.endswith("*/") and len(line) < (COLUMN_LIMIT-2): cmt_start = line.rfind("/*") line = line[:cmt_start] + " " * (COLUMN_LIMIT-2 - len(line)) + line[cmt_start:] |