diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-08 13:31:52 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-08 13:31:52 +0200 |
commit | 40216453411e800a3aa6cc13079c1548c27d0b20 (patch) | |
tree | c927082384eb8da0a0a1927e35e343fb9ecf5091 /playlist.c | |
parent | 1746d2b90b623e49a07d92d006527cd50eba0a2d (diff) |
increased precision when sorting by duration
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2564,7 +2564,7 @@ pl_sort_compare (playItem_t *a, playItem_t *b) { // next = b // it = a if (pl_sort_is_duration) { - cmp = pl_sort_ascending ? b->_duration * 1000 - a->_duration * 1000 : a->_duration * 1000 - b->_duration * 1000; + cmp = pl_sort_ascending ? b->_duration * 100000 - a->_duration * 100000 : a->_duration * 100000 - b->_duration * 100000; } else if (pl_sort_is_track) { const char *t; |