mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
Added several improvements XXV
This commit is contained in:
parent
83e3c032eb
commit
f77f871089
@ -255,7 +255,7 @@ public class TimeCalc {
|
|||||||
if(i < 0) {
|
if(i < 0) {
|
||||||
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++) {
|
for(int j = 1; j <= i; j++) {
|
||||||
sb.append("#");
|
sb.append("#");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user