aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ArgParser.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ArgParser.java b/src/ArgParser.java
index bb651f6..6ea7e65 100644
--- a/src/ArgParser.java
+++ b/src/ArgParser.java
@@ -863,7 +863,10 @@ public class ArgParser
lens.add(new int[] { l });
}
- int col = lens.size();
+ int col = 0;
+ for (final int[] len : lens)
+ if (col < len[0])
+ col = len[0];
col += 8 - ((col - 4) & 7);
int index = 0;
while (empty.length() < col)