Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47f13e7c authored by Jozef BABJAK's avatar Jozef BABJAK
Browse files

Fixing infinite loop for zero duration.

Change-Id: I837478c1598f1d2f99bf773597f0d66d0fc3cf1a
parent 7118bdec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ public class TimeUtils {
            int pos = 0;
            fieldLen -= 1;
            while (pos < fieldLen) {
                formatStr[pos] = ' ';
                formatStr[pos++] = ' ';
            }
            formatStr[pos] = '0';
            return pos+1;