diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-05-28 14:40:55 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-05-28 14:47:56 +0200 |
commit | 45eaa9d54e575341ba07175b147422cb981278ee (patch) | |
tree | 0130aa72d181743db8775414fbdbe956876b53e2 | |
parent | aeb1dc8099631e4ce427e7e07997acf02c75c9cf (diff) | |
download | skin-lcarsng-45eaa9d54e575341ba07175b147422cb981278ee.tar.gz skin-lcarsng-45eaa9d54e575341ba07175b147422cb981278ee.tar.bz2 |
Cleanup skinlcarsng.c
-rw-r--r-- | skinlcarsng.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/skinlcarsng.c b/skinlcarsng.c index d0a2ffd..2cd079a 100644 --- a/skinlcarsng.c +++ b/skinlcarsng.c @@ -14,7 +14,7 @@ static const char *DESCRIPTION = "skin lcarsng"; class cPluginLCARSNG : public cPlugin { private: - cLCARSNG *lcarsng; + // Add any member variables or functions you may need here. public: cPluginLCARSNG(void); virtual ~cPluginLCARSNG(); @@ -39,7 +39,6 @@ class cPluginLCARSNG : public cPlugin { }; cPluginLCARSNG::cPluginLCARSNG(void) { - lcarsng = NULL; statusMonitor = NULL; } @@ -63,12 +62,11 @@ bool cPluginLCARSNG::Start(void) { if (!cOsdProvider::SupportsTrueColor()) { esyslog("skinlcarsng: No TrueColor OSD found! Aborting!"); return false; - } else - dsyslog("skinlcarsng: TrueColor OSD found"); + } + dsyslog("skinlcarsng: TrueColor OSD found"); cDevice::PrimaryDevice()->ScaleVideo(cRect::Null); - lcarsng = new cLCARSNG; statusMonitor = new cLCARSNGStatusMonitor; - return lcarsng; + return new cLCARSNG(); } void cPluginLCARSNG::Stop(void) { |