fixed crash when plugin using libskindesigner is started before skindesigner

This commit is contained in:
louis 2016-02-06 10:01:12 +01:00
parent ac0e6dbc8d
commit 7c6167a79e
1 changed files with 1 additions and 1 deletions

View File

@ -104,6 +104,7 @@ bool cPluginSkinDesigner::ProcessArgs(int argc, char *argv[]) {
}
bool cPluginSkinDesigner::Initialize(void) {
plgManager = new cSDPluginManager();
return true;
}
@ -118,7 +119,6 @@ bool cPluginSkinDesigner::Start(void) {
} else
dsyslog("skindesigner: TrueColor OSD found");
plgManager = new cSDPluginManager();
libskindesignerApiVersion = LIBSKINDESIGNERAPIVERSION;
dsyslog("skindesigner: using libskindesigner API Version %s", libskindesignerApiVersion.c_str());