[vdr] [ANNOUNCE] VDR developer version 1.7.27

VDR User user.vdr at gmail.com
Sun Apr 1 01:54:13 CEST 2012


On Sat, Mar 31, 2012 at 4:10 PM, Dominic Evans <oldmanuk at gmail.com> 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;



More information about the vdr mailing list