diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2015-03-24 18:22:34 +0100 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2015-03-24 18:22:34 +0100 |
| commit | 35462805b9f876c38cfa681623b9cd426028a2c7 (patch) | |
| tree | dfb4adf7bf5ee6b2d8030f95a05d65783b654156 | |
| parent | 8cb1d87cd4a9bc1abde2301c3e71a27f49600892 (diff) | |
| download | vdr-plugin-rpihddevice-35462805b9f876c38cfa681623b9cd426028a2c7.tar.gz vdr-plugin-rpihddevice-35462805b9f876c38cfa681623b9cd426028a2c7.tar.bz2 | |
fixed cOvgOsd::SetAreas()
| -rw-r--r-- | ovgosd.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 }; |
