Index: tools/json_schema_compiler/code.py |
diff --git a/tools/json_schema_compiler/code.py b/tools/json_schema_compiler/code.py |
index 5f0a98a23df5801b3c6c5be2953822941f8f4103..e454e5d444039808553ae73e2f74823f81133fb3 100644 |
--- a/tools/json_schema_compiler/code.py |
+++ b/tools/json_schema_compiler/code.py |
@@ -132,7 +132,7 @@ class Code(object): |
# First line has the full maximum length. |
if not new_line and self._code: |
- max_len = self._comment_length - len(self._code[-1].value) - 1 |
+ max_len = self._comment_length - len(self._code[-1].value) |
else: |
max_len = (self._comment_length - len(''.join(self._line_prefixes)) - |
len(comment_prefix)) |