From 8ff2c73d9b4bf716e80b2c56e15badc2eb17427c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 20 Jul 2007 14:45:44 +0200 Subject: Fixed clearing color buttons in the 'curses' skin --- CONTRIBUTORS | 1 + HISTORY | 1 + PLUGINS/src/skincurses/HISTORY | 4 ++++ PLUGINS/src/skincurses/skincurses.c | 6 ++---- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1db7f3ae..effd2968 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1501,6 +1501,7 @@ Udo Richter for fixing a race condition with signal handlers at program exit for fixing handling detached processes in SystemExec() for fixing handling single byte characters >0x7F in Utf8ToArray() + for fixing clearing color buttons in the 'curses' skin Sven Kreiensen for his help in keeping 'channels.conf.terr' up to date diff --git a/HISTORY b/HISTORY index 10876b2d..29590288 100644 --- a/HISTORY +++ b/HISTORY @@ -5284,3 +5284,4 @@ Video Disk Recorder Revision History - Fixed handling single byte characters >0x7F in Utf8ToArray() (thanks to Udo Richter). - Improved numdigits(), isnumber() and strreplace() (thanks to Tobias Bratfisch). +- Fixed clearing color buttons in the 'curses' skin (thanks to Udo Richter). diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 8e34bc86..60f4839e 100644 --- a/PLUGINS/src/skincurses/HISTORY +++ b/PLUGINS/src/skincurses/HISTORY @@ -47,3 +47,7 @@ VDR Plugin 'skincurses' Revision History 2007-06-23: Version 0.1.1 - Fixed a name clash with the new cOsd position functions. + +2007-07-20: Version 0.1.2 + +- Fixed clearing color buttons. diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c index fd20b4d4..9324210c 100644 --- a/PLUGINS/src/skincurses/skincurses.c +++ b/PLUGINS/src/skincurses/skincurses.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: skincurses.c 1.14 2007/06/23 09:08:01 kls Exp $ + * $Id: skincurses.c 1.15 2007/07/20 14:45:07 kls Exp $ */ #include @@ -11,7 +11,7 @@ #include #include -static const char *VERSION = "0.1.1"; +static const char *VERSION = "0.1.2"; static const char *DESCRIPTION = "A text only skin"; static const char *MAINMENUENTRY = NULL; @@ -133,8 +133,6 @@ void cCursesOsd::RestoreRegion(void) void cCursesOsd::DrawText(int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width, int Height, int Alignment) { - if (!s) - return; int w = Font->Width(s); int h = Font->Height(); if (Width || Height) { -- cgit v1.2.3