mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed an uninitialized variable in cDisplayChannel
This commit is contained in:
parent
984c51ef91
commit
b8c2934668
@ -173,6 +173,7 @@ Stefan Huelswitt <huels@iname.com>
|
|||||||
video sequence, which avoids artefacts when cutting
|
video sequence, which avoids artefacts when cutting
|
||||||
for suggesting to add VDRVERSNUM to config.h
|
for suggesting to add VDRVERSNUM to config.h
|
||||||
for fixing a memory leak in cNonBlockingFileReader
|
for fixing a memory leak in cNonBlockingFileReader
|
||||||
|
for fixing an uninitialized variable in cDisplayChannel
|
||||||
|
|
||||||
Ulrich Röder <roeder@efr-net.de>
|
Ulrich Röder <roeder@efr-net.de>
|
||||||
for pointing out that there are channels that have a symbol rate higher than
|
for pointing out that there are channels that have a symbol rate higher than
|
||||||
|
1
HISTORY
1
HISTORY
@ -2223,3 +2223,4 @@ Video Disk Recorder Revision History
|
|||||||
- Some corrections to the Catalanian OSD texts (thanks to Jordi Vilà).
|
- Some corrections to the Catalanian OSD texts (thanks to Jordi Vilà).
|
||||||
- Single event timers are now deleted if the recording they are doing is
|
- Single event timers are now deleted if the recording they are doing is
|
||||||
deleted before the timer ends.
|
deleted before the timer ends.
|
||||||
|
- Fixed an uninitialized variable in cDisplayChannel (thanks to Stefan Huelswitt).
|
||||||
|
5
menu.c
5
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.251 2003/05/29 11:35:52 kls Exp $
|
* $Id: menu.c 1.252 2003/05/29 11:43:36 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -2641,7 +2641,8 @@ cDisplayChannel::cDisplayChannel(eKeys FirstKey)
|
|||||||
lines = 0;
|
lines = 0;
|
||||||
number = 0;
|
number = 0;
|
||||||
lastTime = time_ms();
|
lastTime = time_ms();
|
||||||
int EpgLines = Setup.ShowInfoOnChSwitch ? 5 : 1;
|
withInfo = Setup.ShowInfoOnChSwitch;
|
||||||
|
int EpgLines = withInfo ? 5 : 1;
|
||||||
Interface->Open(Setup.OSDwidth, Setup.ChannelInfoPos ? EpgLines : -EpgLines);
|
Interface->Open(Setup.OSDwidth, Setup.ChannelInfoPos ? EpgLines : -EpgLines);
|
||||||
ProcessKey(FirstKey);
|
ProcessKey(FirstKey);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user