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



On Tue, 26 Mar 2002 22:32:39 +0100
Jochen Radmacher <jradmacher@gmx.de> wrote:

> 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

Personally, I prefere the more simple solution provided by Klaus.
For virtually any ( human ) user on "this" world a list of more than
9999 channels generates a lot more problems than the little little bug
of the overlapping names.

Bye,
   Angelus.



Home | Main Index | Thread Index