diff options
author | louis <louis.braun@gmx.de> | 2015-03-28 12:33:06 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-03-28 12:33:06 +0100 |
commit | 361802844bfe61bd60985505887d5db3d6c1baeb (patch) | |
tree | a1ab5e49d7aee1501dd3fe3381dc6df6861cc796 /libcore | |
parent | 3dc2313708c95edcacb90a0353ba9468f55991ec (diff) | |
download | vdr-plugin-skindesigner-361802844bfe61bd60985505887d5db3d6c1baeb.tar.gz vdr-plugin-skindesigner-361802844bfe61bd60985505887d5db3d6c1baeb.tar.bz2 |
fixed bug in creating osd
Diffstat (limited to 'libcore')
-rw-r--r-- | libcore/pixmapcontainer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcore/pixmapcontainer.c b/libcore/pixmapcontainer.c index 94fe3eb..66f0e58 100644 --- a/libcore/pixmapcontainer.c +++ b/libcore/pixmapcontainer.c @@ -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; |