diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-09-30 13:05:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-09-30 13:05:14 +0200 |
commit | f1000d75c0201ff90b8daf2a39c8390f432c66a5 (patch) | |
tree | 8ce156f15997ef41417a85064fcf1bd86736af04 /videodir.c | |
parent | 3cc12a401a865361856d6c42d5b979d43be15973 (diff) | |
download | vdr-f1000d75c0201ff90b8daf2a39c8390f432c66a5.tar.gz vdr-f1000d75c0201ff90b8daf2a39c8390f432c66a5.tar.bz2 |
Added 'IgnoreFiles' to RemoveEmptyDirectories()1.7.31
Diffstat (limited to 'videodir.c')
-rw-r--r-- | videodir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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()); } |