Browse Source

Fix of by one error in printTargets

PR: 14274
Submitted by:	Martijn Kruithof <martijn at kruithof.xs4all.nl>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273488 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
cf8b21a8bc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/Main.java

+ 1
- 1
src/main/org/apache/tools/ant/Main.java View File

@@ -929,7 +929,7 @@ public class Main {
String lSep = System.getProperty("line.separator");
// got a bit annoyed that I couldn't find a pad function
String spaces = " ";
while (spaces.length() < maxlen) {
while (spaces.length() <= maxlen) {
spaces += spaces;
}
StringBuffer msg = new StringBuffer();


Loading…
Cancel
Save