mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed bug in creating osd
This commit is contained in:
@@ -52,7 +52,7 @@ bool cPixmapContainer::CreateOsd(int Left, int Top, int Width, int Height) {
|
||||
}
|
||||
cOsd *newOsd = cOsdProvider::NewOsd(Left, Top);
|
||||
if (newOsd) {
|
||||
tArea Area = { 0, 0, Width, Height, 32 };
|
||||
tArea Area = { 0, 0, Width - 1, Height - 1, 32 };
|
||||
if (newOsd->SetAreas(&Area, 1) == oeOk) {
|
||||
osd = newOsd;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user