about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-09-04 10:04:35 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-09-04 10:04:35 +0200
commitf7a400878a4b979513de50e50ec599a3376216af (patch)
tree50463f82c2739b6144c72a1c39016debb48d2799
parente1f18f6212fdab581c3bf732a51dcc5a9cdaa8e7 (diff)
downloadafl++-f7a400878a4b979513de50e50ec599a3376216af.tar.gz
fix typo in custom format
-rwxr-xr-x.custom-format.py2
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:]