chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from disorder.dev.
[disorder]
/
disobedience
/
queue-generic.c
diff --git
a/disobedience/queue-generic.c
b/disobedience/queue-generic.c
index 60ff7944dffc9481cc506d78b7212aecf5210c5e..f14f424bdaba959d64e34fd9a5669b8fea98518d 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;
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);
l = playing_track->sofar + (now - last_playing);
}
byte_xasprintf(&played, "%ld:%02ld/%s", l / 60, l % 60, length);