fixed bug in TextOutput.java

This commit is contained in:
schrom01
2021-11-11 15:53:51 +01:00
parent 04647a5934
commit fd3c7a60a8
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ public class TextOutput {
System.out.print(word);
if(!(currentWordNumber == lastWordNumber)) {
System.out.print(" ");
currentLength = word.length();
currentLength = word.length() + 1;
}
}
}