Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] VDR 1.3.3: fix for language codes in channels.conf



Well, just after releasing VDR 1.3.3 I saw that there is a small
bug in handling the language codes in channels.conf (I hate it when that
happens...).

This patch shoulc fix it:

--- channels.c  2004/01/25 15:32:08     1.20
+++ channels.c  2004/01/25 16:02:13
@@ -320,7 +320,7 @@
   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++;
         }


Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index