From 9bc1210fb7c4f3d129609a08feb5a8dbcfe28e3e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 18 Jun 2013 14:39:14 +0200 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ArgParser.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2