mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Avoiding a gcc 4.6 compiler error in the skincurses plugin
This commit is contained in:
@@ -88,3 +88,7 @@ VDR Plugin 'skincurses' Revision History
|
||||
2010-02-28: Version 0.1.9
|
||||
|
||||
- Added Lithuanian language translations (thanks to Valdemaras Pipiras).
|
||||
|
||||
2011-05-15: Version 0.1.10
|
||||
|
||||
- Avoiding a gcc 4.6 compiler error (thanks to Tobias Grimm).
|
||||
|
@@ -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 ------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user