diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-02-20 11:46:57 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-02-20 11:46:57 +0000 |
commit | 48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0 (patch) | |
tree | 51780a014f2a1a108096cfbc0e04ce6cf52a0c08 /apps/misc.c | |
parent | 03862292a2c619951053c58844e0346dbe1bbe5c (diff) | |
download | rockbox-48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0.tar.gz rockbox-48b1a2d39d1678c0dfa7b2271c29c52b6c8169d0.zip |
Fix the r29343 red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29344 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index 5b560dee16..fa34c21f4e 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -894,7 +894,7 @@ char* skip_whitespace(char* const str) | |||
894 | */ | 894 | */ |
895 | void format_time(char* buf, int buf_size, long t) | 895 | void format_time(char* buf, int buf_size, long t) |
896 | { | 896 | { |
897 | int const time = ABS(t / 1000); | 897 | int const time = abs(t / 1000); |
898 | int const hours = time / 3600; | 898 | int const hours = time / 3600; |
899 | int const minutes = time / 60 - hours * 60; | 899 | int const minutes = time / 60 - hours * 60; |
900 | int const seconds = time % 60; | 900 | int const seconds = time % 60; |