Fix minus null minutes again.
This commit is contained in:
parent
ef73bb13d3
commit
0598930b09
|
@ -277,10 +277,13 @@
|
|||
} else if (nm == 0 && ns == 0) {
|
||||
signed = '-';
|
||||
sec = 1;
|
||||
} else if (nm == 0) {
|
||||
} else if (nm == 0 && m[1][0] == '-') {
|
||||
signed = '-';
|
||||
sec = ns;
|
||||
sec++;
|
||||
} else if (nm == 0 && m[1][0] != '-') {
|
||||
sec = ns;
|
||||
sec--;
|
||||
} else {
|
||||
signed = '';
|
||||
sec = nm * 60 + ns;
|
||||
|
|
Loading…
Reference in New Issue