1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a missing initialization of osdState in cDisplayChannel::cDisplayChannel(eKeys FirstKey)

This commit is contained in:
Klaus Schmidinger 2018-04-09 09:21:27 +02:00
parent bac9c65515
commit 0f9b4b6fd5
2 changed files with 5 additions and 2 deletions

View File

@ -9317,7 +9317,7 @@ Video Disk Recorder Revision History
- Modified cMenuTimers::Delete() to avoid a lengthy lock on the Timers list while prompting
the user.
2018-04-06: Version 2.4.0
2018-04-09: Version 2.4.0
- Updated the Ukrainian OSD texts (thanks to Yarema Aka Knedlyk).
- Fixed processing SVDRP client responses in case the caller doesn't want the actual
@ -9339,3 +9339,5 @@ Video Disk Recorder Revision History
short recordings (reported by Oliver Endriss).
- Fixed updating the Schedule menu after editing a timer.
- Fixed scaling bitmaps with very small factors (reported by Rolf Ahrenberg).
- Added a missing initialization of osdState in cDisplayChannel::cDisplayChannel(eKeys
FirstKey).

3
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 4.72 2018/04/05 14:18:18 kls Exp $
* $Id: menu.c 4.73 2018/04/09 09:20:03 kls Exp $
*/
#include "menu.h"
@ -4644,6 +4644,7 @@ cDisplayChannel::cDisplayChannel(eKeys FirstKey)
number = 0;
timeout = true;
lastPresent = lastFollowing = NULL;
cOsdProvider::OsdSizeChanged(osdState); // just to get the current state
lastTime.Set();
withInfo = Setup.ShowInfoOnChSwitch;
displayChannel = Skins.Current()->DisplayChannel(withInfo);