X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..0fc2fcd010ac5cc98aab67222f3c2af2ec2beefe:/cgi/actions.c diff --git a/cgi/actions.c b/cgi/actions.c index d752660..ab52c2d 100644 --- a/cgi/actions.c +++ b/cgi/actions.c @@ -75,7 +75,7 @@ static void act_playing(void) { && length && dcgi_playing->sofar >= 0) { /* Try to put the next refresh at the start of the next track. */ - time(&now); + xtime(&now); fin = now + length - dcgi_playing->sofar + config->gap; if(now + refresh > fin) refresh = fin - now;