summaryrefslogtreecommitdiff
path: root/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'libcore')
-rw-r--r--libcore/pixmapcontainer.c2
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;