Partially fixed Total duration: field, is missing duration for currently playing song.
This commit is contained in:
parent
138c575dda
commit
91e5833a40
2 changed files with 1784 additions and 1784 deletions
File diff suppressed because it is too large
Load diff
|
@ -169,7 +169,7 @@
|
|||
int sec = (int)(tt);
|
||||
hoursAndMinutes = ldiv(sec/60, 60);
|
||||
|
||||
[self setTotalTimeDisplay:[NSString stringWithFormat:@"%i minutes %02i seconds (%ld hours %ld minutes)",sec/60, sec%60, hoursAndMinutes.quot, hoursAndMinutes.rem]];
|
||||
[self setTotalTimeDisplay:[NSString stringWithFormat:@"%ld hours %ld minutes %d seconds", hoursAndMinutes.quot, hoursAndMinutes.rem, sec%60]];
|
||||
}
|
||||
|
||||
- (void)setTotalTimeDisplay:(NSString *)ttd
|
||||
|
|
Loading…
Reference in a new issue