mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-24 23:47:38 -04:00
Fix the r29343 red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29344 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
03862292a2
commit
48b1a2d39d
1 changed files with 1 additions and 1 deletions
|
|
@ -894,7 +894,7 @@ char* skip_whitespace(char* const str)
|
||||||
*/
|
*/
|
||||||
void format_time(char* buf, int buf_size, long t)
|
void format_time(char* buf, int buf_size, long t)
|
||||||
{
|
{
|
||||||
int const time = ABS(t / 1000);
|
int const time = abs(t / 1000);
|
||||||
int const hours = time / 3600;
|
int const hours = time / 3600;
|
||||||
int const minutes = time / 60 - hours * 60;
|
int const minutes = time / 60 - hours * 60;
|
||||||
int const seconds = time % 60;
|
int const seconds = time % 60;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue