Added several improvements XXV

This commit is contained in:
Robert Vokac 2024-01-20 17:19:58 +00:00
parent 83e3c032eb
commit f77f871089
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055

View File

@ -255,7 +255,7 @@ public class TimeCalc {
if(i < 0) {
i = 0;
}
sb.append(index == 2 ? (msg + createSpaces((percentInt < 0 ? -1 : 0) + 9 + (percentInt<10 ? 1: 0) + (percentInt==100 ? -1: 0))) : createSpaces(58));
sb.append(index == 2 ? (msg + createSpaces((percentInt < 0 ? -1 : 0) + 9 + (percentInt<10 ? 1: 0) + (percentInt==100 ? -1: 0) - 3)) : createSpaces(58));
for(int j = 1; j <= i; j++) {
sb.append("#");
}