From cc586c3eb45d5401a73cc8e04553d2d5c8350df9 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Thu, 5 Jan 2017 15:39:52 +0200 Subject: [PATCH] Updated for vdr-2.3.2. --- femon.c | 4 ++-- osd.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/femon.c b/femon.c index faa9d20..fb000df 100644 --- a/femon.c +++ b/femon.c @@ -17,8 +17,8 @@ #include "tools.h" #include "setup.h" -#if defined(APIVERSNUM) && APIVERSNUM < 20301 -#error "VDR-2.3.1 API version or greater is required!" +#if defined(APIVERSNUM) && APIVERSNUM < 20302 +#error "VDR-2.3.2 API version or greater is required!" #endif #ifndef GITVERSION diff --git a/osd.c b/osd.c index bd641c9..6228287 100644 --- a/osd.c +++ b/osd.c @@ -144,6 +144,7 @@ class cFemonDummyFont : public cFont { public: + virtual int Width(void) const { return 10; } virtual int Width(uint cP) const { return 10; } virtual int Width(const char *sP) const { return 50; } virtual int Height(void) const { return 20; }