Patch to fix SVDR LSTR

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

 



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;

Regards.

-- 
Stefan Huelswitt
s.huelswitt@xxxxxx  | http://www.muempf.de/


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux