summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-25 16:10:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-25 16:10:04 +0100
commit76866e7019e5edd90a8caaa59f563e747b833627 (patch)
tree1a95100546da141c77bf654ee3fcdc81c688ebf7
parent926e83529dc2c6fae98d192e86a7359fb5179251 (diff)
downloadvdr-76866e7019e5edd90a8caaa59f563e747b833627.tar.gz
vdr-76866e7019e5edd90a8caaa59f563e747b833627.tar.bz2
Fixed handling language codes in case there is no audio or Dolby PID
-rw-r--r--HISTORY4
-rw-r--r--channels.c4
-rw-r--r--config.h6
3 files changed, 9 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 00b2ff0d..38f8632a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2626,3 +2626,7 @@ Video Disk Recorder Revision History
code (see man vdr(5)). Currently this is only stored and not yet used otherwise.
- Added a call to cStatus::MsgOsdCurrentItem() to cMenuEditItem::SetValue()
(thanks to Martin Hammerschmid).
+
+2004-01-25: Version 1.3.4
+
+- Fixed handling language codes in case there is no audio or Dolby PID.
diff --git a/channels.c b/channels.c
index d49d7a4d..2ae5bf44 100644
--- a/channels.c
+++ b/channels.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.c 1.20 2004/01/25 15:32:08 kls Exp $
+ * $Id: channels.c 1.21 2004/01/25 16:02:13 kls Exp $
*/
#include "channels.h"
@@ -320,7 +320,7 @@ static int IntArrayToString(char *s, const int *a, int Base = 10, const char n[]
int i = 0;
while (a[i] || i == 0) {
q += sprintf(q, Base == 16 ? "%s%X" : "%s%d", i ? "," : "", a[i]);
- if (n && *n[i])
+ if (a[i] && n && *n[i])
q += sprintf(q, "=%s", n[i]);
i++;
}
diff --git a/config.h b/config.h
index 332c2963..7cda78d8 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.184 2004/01/24 10:03:55 kls Exp $
+ * $Id: config.h 1.185 2004/01/25 16:08:23 kls Exp $
*/
#ifndef __CONFIG_H
@@ -20,8 +20,8 @@
#include "i18n.h"
#include "tools.h"
-#define VDRVERSION "1.3.3"
-#define VDRVERSNUM 10303 // Version * 10000 + Major * 100 + Minor
+#define VDRVERSION "1.3.4"
+#define VDRVERSNUM 10304 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99
#define MAXLIFETIME 99