Stefan Huelswitt wrote: > Hi, > > I found that recordings with a name ending in a space are not > correctly reported by the LSTR command. > This is because after creating the output line any trailing > spaces are stripped. > Recording names with a trailing space are e.g. created by VDR > itselfs for repeating timers when there is not EPG subtitle > available. > > This patch fixes the problem: > > --- recording.c.orig 2005-05-07 17:25:15.000000000 +0200 > +++ recording.c 2005-05-26 16:57:44.000000000 +0200 > @@ -513,7 +513,6 @@ > Delimiter, > s); > // let's not display a trailing '~': > - stripspace(titleBuffer); > s = &titleBuffer[strlen(titleBuffer) - 1]; > if (*s == '~') > *s = 0; This would mean that the '~' appears in the replay progress display, and avoiding that was the original intent of this. I'll make this if (!NewIndicator) stripspace(titleBuffer); which uses the fact that NewIndicator is only true when this function called from the LSTR command, but I guess that's ok. Klaus