Re: [ANNOUNCE] VDR developer version 1.7.27

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

On Sat, Mar 31, 2012 at 4:10 PM, Dominic Evans <oldmanuk@xxxxxxxxx> wrote:
>>> - The channel name column in the "What's on now/next" menu now adjusts its
>>> width  to display the full short name of each channel (suggested by Dominic
>>> Evans).
> Unfortunately, this doesn't seem to be working. I just upgraded to vdr
> 1.7.27 and the channel name is now only a single character for every
> channel.

I had the same problem here as well. Klaus has fixed it, try the patch below:

diff -pruN vdr-1.7.27-orig/channels.c vdr-1.7.27/channels.c
--- vdr-1.7.27-orig/channels.c  2012-03-25 22:46:14.294920001 -0700
+++ vdr-1.7.27/channels.c       2012-03-28 09:29:23.734920001 -0700
@@ -955,7 +955,7 @@ int cChannels::MaxShortChannelNameLength
   if (!maxShortChannelNameLength) {
      for (cChannel *channel = First(); channel; channel = Next(channel)) {
          if (!channel->GroupSep())
-            maxShortChannelNameLength =
max(Utf8StrLen(channel->ShortName()), maxShortChannelNameLength);
+            maxShortChannelNameLength =
max(Utf8StrLen(channel->ShortName(true)), maxShortChannelNameLength);
   return maxShortChannelNameLength;

vdr mailing list

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

  Powered by Linux