From eb7816259c5c3b37e9c4802a285f717c57591bec Mon Sep 17 00:00:00 2001
From: Klaus Schmidinger <vdr@tvdr.de>
Date: Sun, 8 Mar 2015 16:43:40 +0100
Subject: Fixed a vertical black line in the "TiledPixmaps" area on the
 rpihddevice OSD wit 1280x800 pixel

---
 PLUGINS/src/osddemo/HISTORY   | 2 ++
 PLUGINS/src/osddemo/osddemo.c | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

(limited to 'PLUGINS')

diff --git a/PLUGINS/src/osddemo/HISTORY b/PLUGINS/src/osddemo/HISTORY
index e2f8d0b4..ebb9ffcb 100644
--- a/PLUGINS/src/osddemo/HISTORY
+++ b/PLUGINS/src/osddemo/HISTORY
@@ -76,3 +76,5 @@ VDR Plugin 'osddemo' Revision History
 2015-03-08: Version 2.3.1
 
 - Now using cOsd::MaxPixmapSize().
+- Fixed a vertical black line in the "TiledPixmaps" area on the rpihddevice OSD with
+  1280x800 pixel (thanks to Thomas Reufer).
diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c
index b09606a7..2d69f442 100644
--- a/PLUGINS/src/osddemo/osddemo.c
+++ b/PLUGINS/src/osddemo/osddemo.c
@@ -3,7 +3,7 @@
  *
  * See the README file for copyright information and how to reach the author.
  *
- * $Id: osddemo.c 4.1 2015/03/08 16:40:01 kls Exp $
+ * $Id: osddemo.c 4.2 2015/03/08 16:42:01 kls Exp $
  */
 
 #include <vdr/osd.h>
@@ -210,7 +210,7 @@ cPixmap *cTrueColorDemo::CreateTextPixmap(const char *s, int Line, int Layer, tC
   if (Pixmap) {
      Pixmap->Clear();
      Pixmap->SetAlpha(0);
-     Pixmap->DrawText(cPoint(0, 0), s, ColorFg, ColorBg, Font);
+     Pixmap->DrawText(cPoint(0, 0), s, ColorFg, ColorBg, Font, w);
      }
   return Pixmap;
 }
-- 
cgit v1.2.3