mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
When the 'skincurses' plugin is loaded, it automatically sets the 'curses' skin as the current one
This commit is contained in:
@@ -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.
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user