Skip to content

Commit

Permalink
regen_lib.pl: Dont repeat constant
Browse files Browse the repository at this point in the history
There is a variable designed to be used for this purpose, so do so.
  • Loading branch information
khwilliamson committed Jul 27, 2024
1 parent 6e7a08e commit 81f02ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regen/regen_lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ sub columnarize_list {
# can accommodate all the data. This algorithm doesn't require the
# resulting columns to all have the same width. This can allow for
# as tight of packing as the data will possibly allow.
for ($columns = 7; $columns >= 1; $columns--) {
for ($columns = $max_columns; $columns >= 1; $columns--) {

# For this many columns, we will need this many rows (final row might
# not be completely filled)
Expand Down

0 comments on commit 81f02ed

Please sign in to comment.