From f1000d75c0201ff90b8daf2a39c8390f432c66a5 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Sep 2012 13:05:14 +0200 Subject: Added 'IgnoreFiles' to RemoveEmptyDirectories() --- videodir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'videodir.c') diff --git a/videodir.c b/videodir.c index c64a5c65..d39ab051 100644 --- a/videodir.c +++ b/videodir.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: videodir.c 2.3 2012/09/01 10:57:44 kls Exp $ + * $Id: videodir.c 2.4 2012/09/30 12:06:33 kls Exp $ */ #include "videodir.h" @@ -229,11 +229,11 @@ cString PrefixVideoFileName(const char *FileName, char Prefix) return NULL; } -void RemoveEmptyVideoDirectories(void) +void RemoveEmptyVideoDirectories(const char *IgnoreFiles[]) { cVideoDirectory Dir; do { - RemoveEmptyDirectories(Dir.Name()); + RemoveEmptyDirectories(Dir.Name(), false, IgnoreFiles); } while (Dir.Next()); } -- cgit v1.2.3