Removed slideshow support

This commit is contained in:
Bert Münnich
2012-02-11 02:34:18 +01:00
parent d2ec67e331
commit c3c95ab218
7 changed files with 8 additions and 115 deletions

9
util.c
View File

@ -134,15 +134,6 @@ void size_readable(float *size, const char **unit) {
*unit = units[MIN(i, ARRLEN(units) - 1)];
}
void time_readable(float *time, const char **unit) {
const char *units[] = { "s", "m", "h" };
int i;
for (i = 0; i < ARRLEN(units) && *time >= 60.0; i++)
*time /= 60.0;
*unit = units[MIN(i, ARRLEN(units) - 1)];
}
char* absolute_path(const char *filename) {
size_t len;
const char *basename;