From f7a400878a4b979513de50e50ec599a3376216af Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Wed, 4 Sep 2019 10:04:35 +0200 Subject: fix typo in custom format --- .custom-format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.custom-format.py') 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:] -- cgit 1.4.1