diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-03-29 14:38:36 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-03-29 14:39:37 +0200 |
commit | 4304d06b8c585606cd45b3b5aff5e0c1849d9b94 (patch) | |
tree | c1682911736d353228b703b399705e01abecd4e3 | |
parent | 27dcf3280278c767b1c4b2c861f59e0d3a69f0cc (diff) | |
download | skin-nopacity-4304d06b8c585606cd45b3b5aff5e0c1849d9b94.tar.gz skin-nopacity-4304d06b8c585606cd45b3b5aff5e0c1849d9b94.tar.bz2 |
softhdcuvid fix
-rw-r--r-- | helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |