From 8849308cf9ad1e85ed1790aa832806ce7f74e565 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 22 Jul 2007 18:00:00 +0200 Subject: =?UTF-8?q?Version=201.5.6=20-=20Fixed=20a=20buffer=20overflow=20i?= =?UTF-8?q?n=20initializing=20the=20system=20character=20table=20(thanks?= =?UTF-8?q?=20=20=20to=20Marco=20Schl=C3=BC=C3=9Fler).=20-=20Updated=20the?= =?UTF-8?q?=20Russian=20OSD=20texts=20(thanks=20to=20Oleg=20Roitburd).=20-?= =?UTF-8?q?=20Fixed=20handling=20single=20byte=20characters=20>0x7F=20in?= =?UTF-8?q?=20Utf8ToArray()=20(thanks=20to=20Udo=20=20=20Richter).=20-=20I?= =?UTF-8?q?mproved=20numdigits(),=20isnumber()=20and=20strreplace()=20(tha?= =?UTF-8?q?nks=20to=20Tobias=20Bratfisch).=20-=20Fixed=20clearing=20color?= =?UTF-8?q?=20buttons=20in=20the=20'curses'=20skin=20(thanks=20to=20Udo=20?= =?UTF-8?q?Richter).=20-=20Fixed=20a=20typo=20in=20the=20function=20name?= =?UTF-8?q?=20of=20cOsd::SetOsdPosition()=20and=20added=20a=20range=20=20?= =?UTF-8?q?=20check=20to=20it=20(thanks=20to=20Christoph=20Haubrich).=20-?= =?UTF-8?q?=20Updated=20the=20Finnish=20OSD=20texts=20(thanks=20to=20Rolf?= =?UTF-8?q?=20Ahrenberg).=20-=20Improved=20cControl::Launch()=20to=20keep?= =?UTF-8?q?=20'control'=20from=20pointing=20to=20uninitialized=20=20=20mem?= =?UTF-8?q?ory=20(thanks=20to=20Rolf=20Ahrenberg).=20-=20Made=20skipspace(?= =?UTF-8?q?)=20an=20inline=20function=20(suggested=20by=20Tobias=20Bratfis?= =?UTF-8?q?ch)=20and=20changed=20=20=20it=20to=20handle=20the=20most=20com?= =?UTF-8?q?mon=20case=20of=20'no=20leading=20space'=20very=20fast,=20and?= =?UTF-8?q?=20avoid=20=20=20calling=20isspace(),=20which=20made=20the=20wh?= =?UTF-8?q?ole=20function=20a=20lot=20faster.=20-=20Fixed=20detection=20of?= =?UTF-8?q?=20Premiere=20NVOD=20channel=20links=20(thanks=20to=20Markus=20?= =?UTF-8?q?Hahn).=20-=20Added=20a=20table=20of=20the=20used=20trick=20spee?= =?UTF-8?q?d=20values=20to=20the=20description=20of=20=20=20cDevice::Trick?= =?UTF-8?q?Speed()=20(suggested=20by=20Martin=20Dauskardt).=20-=20Added=20?= =?UTF-8?q?a=20missing=20'P'=20to=20vdr.c's=20SHUTDOWNCANCELROMPT=20macro?= =?UTF-8?q?=20(reported=20by=20Marco=20=20=20Schl=C3=BC=C3=9Fler).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PLUGINS/src/skincurses/HISTORY | 4 ++++ PLUGINS/src/skincurses/skincurses.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'PLUGINS') diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 8e34bc8..60f4839 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 fd20b4d..9324210 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