diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-02 15:57:48 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-02 15:57:48 +0100 |
commit | fa32be64a8781d8c1cdec9b359a2e8fe62668416 (patch) | |
tree | 999d6b33a467ea5412024fda2ddc497c15323f86 /config.c | |
parent | ddec0a101bfb97caa23ca731b8041547717a5eb3 (diff) | |
download | vdr-fa32be64a8781d8c1cdec9b359a2e8fe62668416.tar.gz vdr-fa32be64a8781d8c1cdec9b359a2e8fe62668416.tar.bz2 |
Config files can now contain comments separated by '#'
Diffstat (limited to 'config.c')
-rw-r--r-- | config.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: config.c 1.79 2002/02/02 12:45:30 kls Exp $ + * $Id: config.c 1.80 2002/02/02 15:57:48 kls Exp $ */ #include "config.h" @@ -658,9 +658,9 @@ cCommands Commands; cChannels Channels; -bool cChannels::Load(const char *FileName) +bool cChannels::Load(const char *FileName, bool AllowComments) { - if (cConfig<cChannel>::Load(FileName)) { + if (cConfig<cChannel>::Load(FileName, AllowComments)) { ReNumber(); return true; } |