diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-05-15 21:44:08 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-05-15 21:44:08 +0200 |
commit | ee382b4ad2d815384e57edd418b8e31f74287e76 (patch) | |
tree | cd870637ff108ef6ff94d1881b7c6e66dd12ca7d /PLUGINS/src/skincurses/skincurses.c | |
parent | 464552dd91a170f5e6c69650a6df1af871a2ad1a (diff) | |
download | vdr-ee382b4ad2d815384e57edd418b8e31f74287e76.tar.gz vdr-ee382b4ad2d815384e57edd418b8e31f74287e76.tar.bz2 |
Avoiding a gcc 4.6 compiler error in the skincurses plugin
Diffstat (limited to 'PLUGINS/src/skincurses/skincurses.c')
-rw-r--r-- | PLUGINS/src/skincurses/skincurses.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c index 84076cd4..11fead5f 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 2.5 2011/01/04 08:52:03 kls Exp $ + * $Id: skincurses.c 2.6 2011/05/15 21:41:47 kls Exp $ */ #include <ncurses.h> @@ -11,7 +11,7 @@ #include <vdr/plugin.h> #include <vdr/skins.h> -static const char *VERSION = "0.1.9"; +static const char *VERSION = "0.1.10"; static const char *DESCRIPTION = trNOOP("A text only skin"); static const char *MAINMENUENTRY = NULL; @@ -26,7 +26,7 @@ public: virtual void DrawText(cPixmap *Pixmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const {} }; -static const cCursesFont Font; +static const cCursesFont Font = cCursesFont(); // w/o the '= cCursesFont()' gcc 4.6 complains - can anybody explain why this is necessary? // --- cCursesOsd ------------------------------------------------------------ |