summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-04-09 09:21:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2018-04-09 09:21:27 +0200
commit0f9b4b6fd5466e2968f25a7a687453e847708f2f (patch)
tree226ef1b07e2162b64c05a78adbe3d321969cead2
parentbac9c655155d90c36f0111dbcda349e4a329d344 (diff)
downloadvdr-0f9b4b6fd5466e2968f25a7a687453e847708f2f.tar.gz
vdr-0f9b4b6fd5466e2968f25a7a687453e847708f2f.tar.bz2
Added a missing initialization of osdState in cDisplayChannel::cDisplayChannel(eKeys FirstKey)
-rw-r--r--HISTORY4
-rw-r--r--menu.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 63d0277e..27303a46 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/menu.c b/menu.c
index 4805ff01..6527c43f 100644
--- a/menu.c
+++ b/menu.c
@@ -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);