Hi All, hi Klaus,
here is a patch for this problem:
--- /home/riedel/GENS/orig-vdr/vdr-1.5.3.orig/i18n.c 2007-06-09
10:44:54.000000000 +0200
+++ /home/riedel/GENS/orig-vdr/vdr-1.5.3/i18n.c 2007-06-11 23:40:43.000000000
+0200
@@ -6820,7 +6820,7 @@
*Converted = new tI18nPhrase[NumPhrases + 1];
memset(*Converted, 0, sizeof(tI18nPhrase) * (NumPhrases + 1));
}
- if (!(*Converted)[NrPhrase][NrLanguage]) {
+ if (!(*Converted)[NrPhrase][NrLanguage] && Original[NrPhrase][NrLanguage] ) {
cCharSetConv csc(Phrases[1][NrLanguage],
cCharSetConv::SystemCharacterTable());
(*Converted)[NrPhrase][NrLanguage] =
strdup(csc.Convert(Original[NrPhrase][NrLanguage]));
}
Now work it for other Languages, for example with OSDLanguage = 16
Klaus Schmidinger wrote:
> On 06/10/07 21:43, Joachim Wilke wrote:
>> Hi Klaus,
>>
>> I just installed vdr-1.5.3, but lcdproc plugin caused vdr to crash on
>> startup. I figured out that the problem is the translation of the
>> string "Volume ". Unlike the other strings that are used by the plugin
>> this string is provided by the vdr-core i18n.c This worked fine in
>> vdr-1.5.1. Adding a dummy translation of "Volume " directly in the
>> plugins i18n.c "fixed" the crash. Is this the intended behaviour? Or
>> was this a feature by accident? ;-)
>
> This was certainly unintended.
> I'll look into it.
>
> Klaus
>
> _______________________________________________
> vdr mailing list
> [email protected]
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
_______________________________________________
vdr mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr