mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed restoring CICAM setup values for a fourth DVB card
This commit is contained in:
parent
b305ea6b02
commit
e4424b1550
4
HISTORY
4
HISTORY
@ -1119,3 +1119,7 @@ Video Disk Recorder Revision History
|
|||||||
driver are wrapped into a mechanism that actually performs this action if VDR
|
driver are wrapped into a mechanism that actually performs this action if VDR
|
||||||
exits. The 'runvdr' script can be used for this purpose.
|
exits. The 'runvdr' script can be used for this purpose.
|
||||||
- Refined texts of the "Setup" menu.
|
- Refined texts of the "Setup" menu.
|
||||||
|
|
||||||
|
2002-03-18: Version 1.0.0pre5
|
||||||
|
|
||||||
|
- Fixed restoring CICAM setup values for a fourth DVB card.
|
||||||
|
4
config.c
4
config.c
@ -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 1.91 2002/03/17 14:24:09 kls Exp $
|
* $Id: config.c 1.92 2002/03/18 21:35:07 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -980,7 +980,7 @@ bool cSetup::ParseCaCaps(const char *Value)
|
|||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
int d = strtol(Value, &p, 10);
|
int d = strtol(Value, &p, 10);
|
||||||
if (d > 0 && d < MAXDVBAPI) {
|
if (d > 0 && d <= MAXDVBAPI) {
|
||||||
d--;
|
d--;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (p != Value && p && *p) {
|
while (p != Value && p && *p) {
|
||||||
|
Loading…
Reference in New Issue
Block a user