summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-05-09 10:42:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-05-09 10:42:35 +0200
commitbf543736b630a67123aad71998ca354de3a7cfeb (patch)
treefb9ab7534d5afcc634276cac5ac6c2bb69a5d9ca /osd.c
parent5227621a027ee2c5ec2d1f7c846e0d05fa73a9ea (diff)
downloadvdr-bf543736b630a67123aad71998ca354de3a7cfeb.tar.gz
vdr-bf543736b630a67123aad71998ca354de3a7cfeb.tar.bz2
Implemented cSetup::OSDAspect
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index 77caa405..d16dafbd 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 2.4 2009/05/08 15:29:20 kls Exp $
+ * $Id: osd.c 2.5 2009/05/09 10:42:35 kls Exp $
*/
#include "osd.h"
@@ -926,6 +926,7 @@ void cOsdProvider::UpdateOsdSize(bool Force)
Setup.OSDTop = int(round(Height * Setup.OSDTopP));
Setup.OSDWidth = int(round(Width * Setup.OSDWidthP)) & ~0x07; // OSD width must be a multiple of 8
Setup.OSDHeight = int(round(Height * Setup.OSDHeightP));
+ Setup.OSDAspect = Aspect;
Setup.FontOsdSize = int(round(Height * Setup.FontOsdSizeP));
Setup.FontFixSize = int(round(Height * Setup.FontFixSizeP));
Setup.FontSmlSize = int(round(Height * Setup.FontSmlSizeP));