diff --git a/projects/Lang/59/org/apache/commons/lang/text/StrBuilder.java b/projects/Lang/59/org/apache/commons/lang/text/StrBuilder.java index 886d424..4c14509 100644 --- a/projects/Lang/59/org/apache/commons/lang/text/StrBuilder.java +++ b/projects/Lang/59/org/apache/commons/lang/text/StrBuilder.java @@ -881,7 +881,7 @@ public StrBuilder appendFixedWidthPadRight(Object obj, int width, char padChar) String str = (obj == null ? getNullText() : obj.toString()); int strLen = str.length(); if (strLen >= width) { - str.getChars(0, strLen, buffer, size); + str.getChars(0, width, buffer, size); } else { int padLen = width - strLen; str.getChars(0, strLen, buffer, size);