diff options
Diffstat (limited to 'helpers.c')
-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; } |