Mailing List archive

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

[vdr] Re: Thing's todo before 1.0.0 milestone



Klaus Schmidinger wrote:

>[...]
>
>Try changing the line
>
>:cOsdMenu(tr("Channels"), 4)
>
>to
>
>:cOsdMenu(tr("Channels"), Channels.Count() > 999 ? 5 : 4)
>
>in menu.c. Haven't tested this, but I guess it should work.
>
:cOsdMenu(tr("Channels"), ( (int)log10((double)Channels.Count()) ) +2)

should make it full dynamic (also untested). The only Problem is: You Have to make sure, that Channels.Count() is >=1 !!

	Jochen Radmacher








Home | Main Index | Thread Index