summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-10-24 12:53:12 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-10-24 12:53:12 +0200
commitc94570e69dfca940ba04829debb93e421f77c4f0 (patch)
tree26488bf901cb4e7a2b30db914086cb0f45dd2349 /menu.c
parent2b29a5ce367d464fd10d6014990c881eccf5207e (diff)
downloadvdr-c94570e69dfca940ba04829debb93e421f77c4f0.tar.gz
vdr-c94570e69dfca940ba04829debb93e421f77c4f0.tar.bz2
Changed font handling to allow language specific character sets; adopted the small font character set from the "Elchi" patch
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 72683c01..ee2b6936 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 1.273 2003/10/03 14:36:20 kls Exp $
+ * $Id: menu.c 1.274 2003/10/19 15:13:05 kls Exp $
*/
#include "menu.h"
@@ -1985,6 +1985,7 @@ private:
virtual void Set(void);
public:
cMenuSetupOSD(void) { Set(); }
+ virtual ~cMenuSetupOSD() { cFont::SetCode(I18nCharSets()[Setup.OSDLanguage]); }
virtual eOSState ProcessKey(eKeys Key);
};
@@ -2011,6 +2012,7 @@ eOSState cMenuSetupOSD::ProcessKey(eKeys Key)
if (data.OSDLanguage != osdLanguage) {
int OriginalOSDLanguage = Setup.OSDLanguage;
Setup.OSDLanguage = data.OSDLanguage;
+ cFont::SetCode(I18nCharSets()[Setup.OSDLanguage]);
Set();
Display();
Setup.OSDLanguage = OriginalOSDLanguage;