~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shun time(), since on Linux it is not monotonic with gettimeofday().
[disorder]
/
disobedience
/
queue-generic.c
diff --git
a/disobedience/queue-generic.c
b/disobedience/queue-generic.c
index
636f10c
..
aa29c28
100644
(file)
--- a/
disobedience/queue-generic.c
+++ b/
disobedience/queue-generic.c
@@
-129,7
+129,7
@@
const char *column_length(const struct queue_entry *q,
else {
if(!last_playing)
return NULL;
- time(&now);
+
x
time(&now);
l = playing_track->sofar + (now - last_playing);
}
byte_xasprintf(&played, "%ld:%02ld/%s", l / 60, l % 60, length);