Explorar el Código

show seconds, it's handy to continue a film

Olivier Marty hace 9 años
padre
commit
a2157e00bd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      main.c

+ 1 - 0
main.c

@@ -127,6 +127,7 @@ int main(int argc, char **argv)
     id = next(f, id+1, &sline);
     if(!timeSleepUntil(sline.begin)) // no error and in the future
     {
+      printf("%ds\n", sline.begin.tv_sec);
       // show
       printf("%s\n", sline.text);
       printerShow(penv, sline.text, 0);