Skip to content
Snippets Groups Projects
Commit f7a40087 authored by Andrea Fioraldi's avatar Andrea Fioraldi
Browse files

fix typo in custom format

parent e1f18f62
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ def custom_format(filename): ...@@ -54,7 +54,7 @@ def custom_format(filename):
if line.startswith("#define"): if line.startswith("#define"):
in_define = True 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("/*") cmt_start = line.rfind("/*")
line = line[:cmt_start] + " " * (COLUMN_LIMIT-2 - len(line)) + line[cmt_start:] line = line[:cmt_start] + " " * (COLUMN_LIMIT-2 - len(line)) + line[cmt_start:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment