summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2015-03-24 18:22:34 +0100
committerThomas Reufer <thomas@reufer.ch>2015-03-24 18:22:34 +0100
commit35462805b9f876c38cfa681623b9cd426028a2c7 (patch)
treedfb4adf7bf5ee6b2d8030f95a05d65783b654156
parent8cb1d87cd4a9bc1abde2301c3e71a27f49600892 (diff)
downloadvdr-plugin-rpihddevice-35462805b9f876c38cfa681623b9cd426028a2c7.tar.gz
vdr-plugin-rpihddevice-35462805b9f876c38cfa681623b9cd426028a2c7.tar.bz2
fixed cOvgOsd::SetAreas()
-rw-r--r--ovgosd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ovgosd.c b/ovgosd.c
index 708dd3f..95c7f7b 100644
--- a/ovgosd.c
+++ b/ovgosd.c
@@ -2226,9 +2226,8 @@ public:
{
cRect r;
for (int i = 0; i < NumAreas; i++)
- r.Combine(cRect(Areas[0].x1, Areas[0].y1,
- Areas[0].x2 - Areas[0].x1 + 1,
- Areas[0].y2 - Areas[0].y1 + 1));
+ r.Combine(cRect(Areas[i].x1, Areas[i].y1,
+ Areas[i].Width(), Areas[i].Height()));
tArea area = { r.Left(), r.Top(), r.Right(), r.Bottom(), 32 };