From 0f9b4b6fd5466e2968f25a7a687453e847708f2f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 9 Apr 2018 09:21:27 +0200 Subject: Added a missing initialization of osdState in cDisplayChannel::cDisplayChannel(eKeys FirstKey) --- HISTORY | 4 +++- menu.c | 3 ++- 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); -- cgit v1.2.3