summaryrefslogtreecommitdiff
path: root/PLUGINS/src/skincurses
diff options
context:
space:
mode:
Diffstat (limited to 'PLUGINS/src/skincurses')
-rw-r--r--PLUGINS/src/skincurses/HISTORY2
-rw-r--r--PLUGINS/src/skincurses/skincurses.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY
index 6c870957..c58423df 100644
--- a/PLUGINS/src/skincurses/HISTORY
+++ b/PLUGINS/src/skincurses/HISTORY
@@ -33,3 +33,5 @@ VDR Plugin 'skincurses' Revision History
2006-06-03: Version 0.0.7
- Fixed handling tabbed item display.
+- When the 'skincurses' plugin is loaded, it automatically sets the 'curses'
+ skin as the current one.
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;
}