Mailing List archive

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

[vdr] Re: little feature request for vdr



Hallo Klaus,

Dein Vorschlag funktioniert, wenn Du das folgende machst:
if (*p == '\n' || *p == '|') {
   if(*p=='|') *p='\n';

Das sollte ja kein Problem sein, da es vorher sowieso ein
strdup auf den Text gibt.
Dann geht's einwandfrei. Der Text sieht nun wirklich toll
aus.
Könntest Du das bitte einbauen?

lg, Gerhard

On Sun, 01 Dec 2002 16:50:37 +0100
 Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> wrote:
> Gerhard Steiner wrote:
> > 
> > Hello,
> > I am creating my epg-list from the internet.
> > Sometimes there are really long descriptions that are
> not
> > very readable.
> > Is there any possiblity to use a "special" character to
> get
> > a CR/LF?
> > 
> > So a "formatted" description would be possible.
> > 
> > Or ist there already a solution?
> 
> You could use the '|' character to insert newlines in
> your EPG data,
> and modify line 151 in interface.c to be
> 
>   if (*p == '\n' || *p == '|') {
> 
> Haven't tested this, but I would assume it should work.
> 
> Klaus
> -- 
> _______________________________________________________________
> 
> Klaus Schmidinger                       Phone:
> +49-8635-6989-10
> CadSoft Computer GmbH                   Fax:
> +49-8635-6989-40
> Hofmark 2                               Email:
> kls@cadsoft.de
> D-84568 Pleiskirchen, Germany           URL:
> www.cadsoft.de
> _______________________________________________________________
> 
> 
> -- 
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with
> "unsubscribe vdr" as subject.
> 

----------------------------------------------
Das ist ein Service von austria.com


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



Home | Main Index | Thread Index