From patchwork Mon Oct 24 05:04:17 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12072 Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1ETuUJ-0003qU-H6 for vdr@linuxtv.org; Mon, 24 Oct 2005 07:03:11 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id 6633073546 for ; Sun, 23 Oct 2005 22:02:34 -0700 (PDT) Message-ID: <435C6B51.6050902@syphir.sytes.net> Date: Sun, 23 Oct 2005 22:04:17 -0700 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: [vdr] Bug in text2skin [PATCH] References: <42CABE68.3030004@gmx.net> <42CAD883.4020309@syphir.sytes.net> <42CADBE5.2040907@syphir.sytes.net> <42CFA33A.3080707@gmx.net> <42CFEF86.5090901@syphir.sytes.net> <42D02420.4070709@gmx.net> <42D02F33.3010204@syphir.sytes.net> <42D03561.6030400@syphir.sytes.net> <42D0F3BF.5030806@gmx.net> <42D160A0.4010005@syphir.sytes.net> <42F14176.5030304@gmail.com> <42F1D951.1090309@syphir.sytes.net> In-Reply-To: <42F1D951.1090309@syphir.sytes.net> X-Enigmail-Version: 0.92.1.0 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2005 05:03:12 -0000 Status: O X-Status: X-Keywords: X-UID: 5629 C.Y.M wrote: > Anssi Hannula wrote: > >>C.Y.M wrote: >> >> >>>Yes, I still get the problem with a "plain" copy of Enigma-skin. For >>>me, the >>>problem started to occur when I upgraded to text2skin 1.0. >> >> >>I now see the problem too, but it doesn't occur always: >>If I want to go channel 1472, I first press 1, then 4. At this point, if >>channel 14 exists, there's no problem, but if channel 14 doesn't exist, >>the number doesn't show in the screen. The number returns when I press >>7, because 147 exists. Then I press 2. >> >>No problem with vdr default skins. >> > > Thanks for the reply. This is also exactly what I am seeing here. If the > channel numbers do not exist, then the numbers do not display. There is also a > similar problem I have with VDR where lets say I have two channels; 14 and > channel 147. I can not switch to channel 147 because by the time I press 1 and > 4, VDR tunes to channel 14 before I can press 7. > The following patch seems to fix the problem. Although, I can't seem to figure out why the default vdr skins have a trailing "-" sign as I enter the channel keys, and this does not. Please let me know if anyone spots a problem with this fix. Best Regards, --- text2skin/display.c.orig 2005-10-23 21:49:38.000000000 -0700 +++ text2skin/display.c 2005-10-23 21:51:13.000000000 -0700 @@ -118,7 +118,7 @@ case tChannelNumber: return mChannel != NULL ? (cxType)ChannelNumber(mChannel, mNumber) - : (cxType)false; + : (cxType)mNumber; case tChannelName: return mChannel != NULL