Browse Source

bindgen(odin): Fix empty line leading whitespace

Alexander Arvidsson 8 months ago
parent
commit
5b3f88b659
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bindgen/gen_odin.py

+ 1 - 1
bindgen/gen_odin.py

@@ -155,7 +155,7 @@ def c(s, indent=""):
         return
     if '\n' in s:
         l(f'{indent}/*')
-        l(textwrap.indent(textwrap.dedent(s), prefix=f"    {indent}", predicate=lambda line: True))
+        l(textwrap.indent(textwrap.dedent(s), prefix=f"    {indent}"))
         l(f'{indent}*/')
     else:
         l(f'{indent}// {s.strip()}')