Only print hour/min/sec during speedrun

master
Kenny Levinsen 2020-09-20 17:53:50 +02:00
parent 3353efc0ae
commit 07f2f1d3ce
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -29,7 +29,7 @@ static time_t get_time_sec(time_t *tloc) {
now = start + ((now - start) * 200) + cnt++ * 10;
struct tm tm;
localtime_r(&now, &tm);
fprintf(stderr, "time in termina: %02d:%02d:%02d (%ld)\n", tm.tm_hour, tm.tm_min, tm.tm_sec, now);
fprintf(stderr, "time in termina: %02d:%02d:%02d\n", tm.tm_hour, tm.tm_min, tm.tm_sec);
return now;
}
#else