reduce lines-per-page estimate in optables
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 Apr 2023 16:37:13 +0000 (17:37 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 Apr 2023 16:37:13 +0000 (17:37 +0100)
openpower/sv/rfc/ls012_optable.py

index ef5cf9e6a81f15feb422dd7bb9535f1a57ff5e33..1847addeeabb47faad46a03e5715656237b8f447 100644 (file)
@@ -106,9 +106,9 @@ def print_table(title, header, areas, sortby):
         for title, rows in areas.items():
             # start new page (if not first newpage)
             if linecount is not None:
-                # allow 60 rows per page
+                # allow 58 rows per page
                 linecount += len(rows)
-                if linecount >= 60:
+                if linecount >= 58:
                     linecount = 0
             if linecount == 0:
                 f.write("\\newpage{}\n")