summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-04-03 12:49:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-04-03 12:49:56 +0200
commite622854789ff8a521dc837379147b6e851d52875 (patch)
treed71cfde84e762e40d3413576e94b073afff5e2b3 /menu.c
parent792b9dc45fd68f6f0f0db4073982303171dbfb08 (diff)
downloadvdr-e622854789ff8a521dc837379147b6e851d52875.tar.gz
vdr-e622854789ff8a521dc837379147b6e851d52875.tar.bz2
cOsdMenu::Display() now checks whether the OSD size has changed and if so calls SetDisplayMenu()
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index b53678a9..ba468095 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.23 2017/03/30 15:15:03 kls Exp $
+ * $Id: menu.c 4.24 2017/04/03 12:26:23 kls Exp $
*/
#include "menu.h"
@@ -3347,10 +3347,8 @@ eOSState cMenuSetupOSD::ProcessKey(eKeys Key)
int oldOsdLanguageIndex = osdLanguageIndex;
eOSState state = cMenuSetupBase::ProcessKey(Key);
- if (ModifiedAppearance) {
+ if (ModifiedAppearance)
cOsdProvider::UpdateOsdSize(true);
- SetDisplayMenu();
- }
if (osdLanguageIndex != oldOsdLanguageIndex || skinIndex != oldSkinIndex) {
strn0cpy(data.OSDLanguage, I18nLocale(osdLanguageIndex), sizeof(data.OSDLanguage));
@@ -4107,7 +4105,6 @@ eOSState cMenuSetupPlugins::ProcessKey(eKeys Key)
Store();
// Reinitialize OSD and skin, in case any plugin setup change has an influence on these:
cOsdProvider::UpdateOsdSize(true);
- SetDisplayMenu();
Display();
}
}