Fixed removing the '-' when entering a channel number where there is no other one that fits the input

This commit is contained in:
Klaus Schmidinger 2006-02-24 14:55:20 +01:00
parent f40a6e9b85
commit 3d9654a22f
3 changed files with 6 additions and 2 deletions

View File

@ -1413,6 +1413,8 @@ Joachim Wilke <vdr@joachim-wilke.de>
for reporting missing calls to cStatus::MsgOsdClear() in cSkins::Message()
for fixing a NULL pointer access with the cUnbufferedFile when a replay session
runs all the way until the end of the recording
for fixing removing the '-' when entering a channel number where there is no other
one that fits the input
Sascha Klek <sklek@gmx.de>
for reporting a problem with the '0' key in the "Day" item of the "Timers" menu

View File

@ -4365,3 +4365,5 @@ Video Disk Recorder Revision History
- Fixed setting the audio language codes in 'Transfer-Mode' (reported by Rolf
Ahrenberg). The actual problem was the call to the Transferring() function in
cDevice::AttachPlayer() before assigning the player.
- Fixed removing the '-' when entering a channel number where there is no other
one that fits the input (thanks to Joachim Wilke).

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.413 2006/02/19 10:18:28 kls Exp $
* $Id: menu.c 1.414 2006/02/24 14:55:10 kls Exp $
*/
#include "menu.h"
@ -3131,10 +3131,10 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
}
if (n > 0) {
// This channel is the only one that fits the input, so let's take it right away:
displayChannel->Flush(); // makes sure the user sees his last input
NewChannel = channel;
withInfo = true;
number = 0;
Refresh();
}
}
break;