diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-03 14:46:36 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-03 14:46:36 +0200 |
commit | 0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82 (patch) | |
tree | 4cf021d807ea68a461757018ea393a7c7afd4ec9 /PLUGINS/src/skincurses/skincurses.c | |
parent | 56744b1f4e4da2bdcf64a44be11cc05c0e0c5c00 (diff) | |
download | vdr-0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82.tar.gz vdr-0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82.tar.bz2 |
When the 'skincurses' plugin is loaded, it automatically sets the 'curses' skin as the current one
Diffstat (limited to 'PLUGINS/src/skincurses/skincurses.c')
-rw-r--r-- | PLUGINS/src/skincurses/skincurses.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c index f9e15dd2..a75375b5 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.9 2006/06/03 13:21:33 kls Exp $ + * $Id: skincurses.c 1.10 2006/06/03 14:20:39 kls Exp $ */ #include <ncurses.h> @@ -787,7 +787,9 @@ bool cPluginSkinCurses::Initialize(void) bool cPluginSkinCurses::Start(void) { // Start any background activities the plugin shall perform. - new cSkinCurses; + cSkin *Skin = new cSkinCurses; + // This skin is normally used for debugging, so let's make it the current one: + Skins.SetCurrent(Skin->Name()); return true; } |