summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-18 21:36:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-18 21:36:00 +0100
commite4424b15502cfdd0a0c323b7a3897f246678fe51 (patch)
treead3a6f0081ffbeaa467345ef28e89b65cd289171
parentb305ea6b0270bed1a78c96ab2c61e54597a1f1e7 (diff)
downloadvdr-e4424b15502cfdd0a0c323b7a3897f246678fe51.tar.gz
vdr-e4424b15502cfdd0a0c323b7a3897f246678fe51.tar.bz2
Fixed restoring CICAM setup values for a fourth DVB card
-rw-r--r--HISTORY4
-rw-r--r--config.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 708f6d9d..e01882ec 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1119,3 +1119,7 @@ Video Disk Recorder Revision History
driver are wrapped into a mechanism that actually performs this action if VDR
exits. The 'runvdr' script can be used for this purpose.
- Refined texts of the "Setup" menu.
+
+2002-03-18: Version 1.0.0pre5
+
+- Fixed restoring CICAM setup values for a fourth DVB card.
diff --git a/config.c b/config.c
index b89fe748..8599fec4 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@@ -980,7 +980,7 @@ bool cSetup::ParseCaCaps(const char *Value)
{
char *p;
int d = strtol(Value, &p, 10);
- if (d > 0 && d < MAXDVBAPI) {
+ if (d > 0 && d <= MAXDVBAPI) {
d--;
int i = 0;
while (p != Value && p && *p) {