summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-02-06 10:01:12 +0100
committerlouis <louis.braun@gmx.de>2016-02-06 10:01:12 +0100
commit7c6167a79e99e961036992091df2017918c93711 (patch)
tree93c3d5f6f36cd8d9f43b2f9308eb1e63e1654860
parentac0e6dbc8d1ea8fd24712dd03fea154cea6a7135 (diff)
downloadvdr-plugin-skindesigner-7c6167a79e99e961036992091df2017918c93711.tar.gz
vdr-plugin-skindesigner-7c6167a79e99e961036992091df2017918c93711.tar.bz2
fixed crash when plugin using libskindesigner is started before skindesigner
-rw-r--r--skindesigner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skindesigner.c b/skindesigner.c
index 52f8d17..9250194 100644
--- a/skindesigner.c
+++ b/skindesigner.c
@@ -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());