diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-07-20 14:57:37 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-07-20 14:57:37 +0200 |
commit | 2f528db30a14ce1e1d2cb6d472bbacff1ed7ef4a (patch) | |
tree | 7d6ba42e93ff6b749fcbffa621a9aeaacd3d35a7 /osd.h | |
parent | 8ff2c73d9b4bf716e80b2c56e15badc2eb17427c (diff) | |
download | vdr-2f528db30a14ce1e1d2cb6d472bbacff1ed7ef4a.tar.gz vdr-2f528db30a14ce1e1d2cb6d472bbacff1ed7ef4a.tar.bz2 |
Fixed a typo in the function name of cOsd::SetOsdPosition() and added a range check to it
Diffstat (limited to 'osd.h')
-rw-r--r-- | osd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.h 1.55 2007/06/17 13:59:22 kls Exp $ + * $Id: osd.h 1.56 2007/07/20 14:50:17 kls Exp $ */ #ifndef __OSD_H @@ -276,7 +276,7 @@ public: static int OsdTop(void) { return osdTop ? osdTop : Setup.OSDTop; } static int OsdWidth(void) { return osdWidth ? osdWidth : Setup.OSDWidth; } static int OsdHeight(void) { return osdHeight ? osdHeight : Setup.OSDHeight; } - static void SetOsdPostion(int Left, int Top, int Width, int Height); + static void SetOsdPosition(int Left, int Top, int Width, int Height); ///< Sets the position and size of the OSD to the given values. ///< This may be useful for plugins that determine the scaling of the ///< video image and need to scale the OSD accordingly to fit on the |