1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed loading the setup.conf file in case a parameter contains the '#' character

This commit is contained in:
Klaus Schmidinger 2013-03-18 09:05:18 +01:00
parent e724d871b2
commit b6d407a212
3 changed files with 6 additions and 3 deletions

View File

@ -2740,6 +2740,7 @@ Johann Friedrichs <johann.friedrichs@web.de>
for making cPalette::ClosestColor() treat fully transparent colors as "equal" for making cPalette::ClosestColor() treat fully transparent colors as "equal"
for implementing scaling of SPU bitmaps for implementing scaling of SPU bitmaps
for fixing creating a new VPS timer with the SVDRP command NEWT 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> Timo Helkio <timolavi@mbnet.fi>
for reporting a hangup when replaying a TS recording with subtitles activated for reporting a hangup when replaying a TS recording with subtitles activated

View File

@ -7757,9 +7757,11 @@ Video Disk Recorder Revision History
- Fixed creating a new VPS timer with the SVDRP command NEWT (thanks to Johann - Fixed creating a new VPS timer with the SVDRP command NEWT (thanks to Johann
Friedrichs). Friedrichs).
2013-03-17: Version 1.7.42 2013-03-18: Version 1.7.42
- Updated the Serbian OSD texts (thanks to Zoran Turalija). - Updated the Serbian OSD texts (thanks to Zoran Turalija).
- Added maximum SNR and signal strength value for TechniSat SkyStar HD2 (thanks to - Added maximum SNR and signal strength value for TechniSat SkyStar HD2 (thanks to
Zoran Turalija). Zoran Turalija).
- Renamed the language file sr_SR.po to sr_RS.po (pointed out by 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "config.h"
@ -518,7 +518,7 @@ void cSetup::Store(const char *Name, double &Value, const char *Plugin)
bool cSetup::Load(const char *FileName) bool cSetup::Load(const char *FileName)
{ {
if (cConfig<cSetupLine>::Load(FileName, true)) { if (cConfig<cSetupLine>::Load(FileName)) {
bool result = true; bool result = true;
for (cSetupLine *l = First(); l; l = Next(l)) { for (cSetupLine *l = First(); l; l = Next(l)) {
bool error = false; bool error = false;