summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-03-29 14:38:36 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-03-29 14:39:37 +0200
commit4304d06b8c585606cd45b3b5aff5e0c1849d9b94 (patch)
treec1682911736d353228b703b399705e01abecd4e3
parent27dcf3280278c767b1c4b2c861f59e0d3a69f0cc (diff)
downloadskin-nopacity-4304d06b8c585606cd45b3b5aff5e0c1849d9b94.tar.gz
skin-nopacity-4304d06b8c585606cd45b3b5aff5e0c1849d9b94.tar.bz2
softhdcuvid fix
-rw-r--r--helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers.c b/helpers.c
index 3cb08d9..b7cd0a6 100644
--- a/helpers.c
+++ b/helpers.c
@@ -5,9 +5,9 @@
#include <vdr/skins.h>
cOsd *CreateOsd(int Left, int Top, int Width, int Height) {
- cOsd *osd = cOsdProvider::NewOsd(Left, Top);
+ cOsd *osd = cOsdProvider::NewOsd(cOsd::OsdLeft() + Left,cOsd::OsdTop() + Top);
if (osd) {
- tArea Area = { 0, 0, Width, Height, 32 };
+ tArea Area = { 0, 0, Width - 1, Height - 1, 32 };
if (osd->SetAreas(&Area, 1) == oeOk) {
return osd;
}