Avoid using ':' in filenames

This commit is contained in:
Andreas Öman 2009-11-15 21:21:21 +00:00
parent 1778b4edd3
commit fadc2e9417

View file

@ -89,7 +89,7 @@ dvr_make_title(char *output, size_t outlen, const char *title,
}
if(dvr_flags & DVR_TIME_IN_TITLE) {
strftime(buf, sizeof(buf), "%R", &tm);
strftime(buf, sizeof(buf), "%H-%M", &tm);
snprintf(output + strlen(output), outlen - strlen(output), "-%s", buf);
}
}