From patchwork Sat Mar 31 23:54:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: VDRU VDRU X-Patchwork-Id: 12938 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1SE87b-0003ZN-Sg for vdr@linuxtv.org; Sun, 01 Apr 2012 01:54:41 +0200 X-tubIT-Incoming-IP: 209.85.210.182 Received: from mail-iy0-f182.google.com ([209.85.210.182]) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtps [TLSv1:RC4-SHA:128] for id 1SE87b-0005dX-Hj; Sun, 01 Apr 2012 01:54:15 +0200 Received: by iahk25 with SMTP id k25so3044222iah.41 for ; Sat, 31 Mar 2012 16:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=t37l9otqrp0Bq72k+V5A7ok3z+9dCC4TBe7Ifb6TQZA=; b=bnFR3M/NAsFdTVM7JFwYORqtOvTQByKIuORrMHRFnLbucVBLzIwqS+LsmdAlF+tke3 Tf1uQ0bN5DX2UWhVFn2ZdjwFrL8BMkwZxZFmOwSEHzgNAWxBRApWkmisV15Gi3JgQA3/ asPlnBAhg3IxYWKHu4S2bh9QX0UV7WoOJ/PKHL9gmLEW63ndr2vR02thW1iaCOrPyBCV 5jfIQErtL7V0zvXnAbJPuaCF/BNbpvJvr0ir03o2YtDKgWa7YXdDQyItzc9QIPqU4ysa fW9oveEIlcmFMDuGPggtUR0iU8ajtwuU1orL60mLGdUgEhMEpn5ok/u7ABcHCWPKB3p0 DTeQ== MIME-Version: 1.0 Received: by 10.50.77.138 with SMTP id s10mr2079163igw.48.1333238053134; Sat, 31 Mar 2012 16:54:13 -0700 (PDT) Received: by 10.231.178.72 with HTTP; Sat, 31 Mar 2012 16:54:13 -0700 (PDT) In-Reply-To: References: <4F6F0570.7050507@tvdr.de> Date: Sat, 31 Mar 2012 16:54:13 -0700 Message-ID: From: VDR User To: VDR Mailing List X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.3.31.234222 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1200_1299 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CT_TEXT_PLAIN_UTF8_CAPS 0, DATE_TZ_NA 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __PHISH_SPEAR_STRUCTURE_2 0, __RDNS_GMAIL 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS ' X-LSpam-Score: -1.8 (-) X-LSpam-Report: No, score=-1.8 required=5.0 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, T_DKIM_INVALID=0.01 autolearn=no Subject: Re: [vdr] [ANNOUNCE] VDR developer version 1.7.27 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 23:54:42 -0000 Status: O X-Status: X-Keywords: X-UID: 25988 On Sat, Mar 31, 2012 at 4:10 PM, Dominic Evans 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: -------------------- } return maxShortChannelNameLength; 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); }