diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-18 14:39:14 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-18 14:39:14 +0200 |
commit | 9bc1210fb7c4f3d129609a08feb5a8dbcfe28e3e (patch) | |
tree | 6f326df519abd4f42ddd2e511ace62eede4b8d64 /src/ArgParser.java | |
parent | m (diff) | |
download | argparser-9bc1210fb7c4f3d129609a08feb5a8dbcfe28e3e.tar.gz argparser-9bc1210fb7c4f3d129609a08feb5a8dbcfe28e3e.tar.bz2 argparser-9bc1210fb7c4f3d129609a08feb5a8dbcfe28e3e.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/ArgParser.java | 5 |
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) |