diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-03-11 14:58:42 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-03-11 14:59:03 +0100 |
commit | 69b851c9ed45b994a49e9d4a1cb9efebc5d8affd (patch) | |
tree | 37a9f0fc31eedc57e310596111836a87a47a86b6 | |
parent | 8335ab0e4100186c50bbe5d4d238f81531c983ab (diff) | |
download | vdr-plugin-tvguide-69b851c9ed45b994a49e9d4a1cb9efebc5d8affd.tar.gz vdr-plugin-tvguide-69b851c9ed45b994a49e9d4a1cb9efebc5d8affd.tar.bz2 |
Fixed a segfault
-rw-r--r-- | osdmanager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdmanager.c b/osdmanager.c index 75a58d0..e5dd46d 100644 --- a/osdmanager.c +++ b/osdmanager.c @@ -7,7 +7,7 @@ cOsdManager::cOsdManager(void) { bool cOsdManager::setOsd() { osd = cOsdProvider::NewOsd(cOsd::OsdLeft(), cOsd::OsdTop()); if (osd) { - tArea Area = { 0, 0, cOsd::OsdWidth(), cOsd::OsdHeight(), 32 }; + tArea Area = { 0, 0, cOsd::OsdWidth() - 1, cOsd::OsdHeight() - 1, 32 }; if (osd->SetAreas(&Area, 1) == oeOk) { return true; } |