diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-18 09:05:18 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-18 09:05:18 +0100 |
commit | b6d407a212bf470f1a8518b6c184ff00b26202ee (patch) | |
tree | 1c612a8876372974a473c190778550792bc20c0c | |
parent | e724d871b27c0410cb39a41b4d74b84c54fb2be6 (diff) | |
download | vdr-b6d407a212bf470f1a8518b6c184ff00b26202ee.tar.gz vdr-b6d407a212bf470f1a8518b6c184ff00b26202ee.tar.bz2 |
Fixed loading the setup.conf file in case a parameter contains the '#' character
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | config.c | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 100788cc..67be87ca 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2740,6 +2740,7 @@ Johann Friedrichs <johann.friedrichs@web.de> for making cPalette::ClosestColor() treat fully transparent colors as "equal" for implementing scaling of SPU bitmaps for fixing creating a new VPS timer with the SVDRP command NEWT + for fixing loading the setup.conf file in case a parameter contains the '#' character Timo Helkio <timolavi@mbnet.fi> for reporting a hangup when replaying a TS recording with subtitles activated @@ -7757,9 +7757,11 @@ Video Disk Recorder Revision History - Fixed creating a new VPS timer with the SVDRP command NEWT (thanks to Johann Friedrichs). -2013-03-17: Version 1.7.42 +2013-03-18: Version 1.7.42 - Updated the Serbian OSD texts (thanks to Zoran Turalija). - Added maximum SNR and signal strength value for TechniSat SkyStar HD2 (thanks to Zoran Turalija). - Renamed the language file sr_SR.po to sr_RS.po (pointed out by Zoran Turalija). +- Fixed loading the setup.conf file in case a parameter contains the '#' character + (thanks to Johann Friedrichs). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 2.37 2013/03/10 14:56:51 kls Exp $ + * $Id: config.c 2.38 2013/03/18 08:57:50 kls Exp $ */ #include "config.h" @@ -518,7 +518,7 @@ void cSetup::Store(const char *Name, double &Value, const char *Plugin) bool cSetup::Load(const char *FileName) { - if (cConfig<cSetupLine>::Load(FileName, true)) { + if (cConfig<cSetupLine>::Load(FileName)) { bool result = true; for (cSetupLine *l = First(); l; l = Next(l)) { bool error = false; |