mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
15 lines
554 B
Plaintext
15 lines
554 B
Plaintext
|
--- helpers.c.orig 2019-11-19 20:02:37.851039110 +0100
|
||
|
+++ helpers.c 2019-11-19 20:02:03.733164221 +0100
|
||
|
@@ -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;
|
||
|
}
|