diff options
author | louis <louis.braun@gmx.de> | 2013-08-24 09:18:45 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-08-24 09:18:45 +0200 |
commit | 128a04a3039c5dffd08b29e97c9dd00625aa977d (patch) | |
tree | 6df80a44bca1d9486b08b793a640446c7151edc3 /menudetailview.c | |
parent | ac9ae79a214ca4707a83229d854c0ca5180be398 (diff) | |
download | skin-nopacity-128a04a3039c5dffd08b29e97c9dd00625aa977d.tar.gz skin-nopacity-128a04a3039c5dffd08b29e97c9dd00625aa977d.tar.bz2 |
fixed an possible uninitialised variable in recordings menu
Diffstat (limited to 'menudetailview.c')
-rw-r--r-- | menudetailview.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/menudetailview.c b/menudetailview.c index 2f5af0c..ff79e25 100644 --- a/menudetailview.c +++ b/menudetailview.c @@ -290,11 +290,11 @@ void cNopacityMenuDetailEventView::SetFonts(void) { void cNopacityMenuDetailEventView::SetContent(void) { if (event) { - static cPlugin *pTVScrapper = cPluginManager::GetPlugin("tvscrapper"); - if (pTVScrapper) { + static cPlugin *pTVScraper = cPluginManager::GetPlugin("tvscraper"); + if (pTVScraper) { mediaInfo.event = event; mediaInfo.isRecording = false; - if (pTVScrapper->Service("TVScrapperGetFullInformation", &mediaInfo)) { + if (pTVScraper->Service("TVScraperGetFullInformation", &mediaInfo)) { hasAdditionalMedia = true; } } @@ -603,11 +603,11 @@ void cNopacityMenuDetailRecordingView::SetContent(void) { if (recording) { const cEvent *event = info->GetEvent(); if (event) { - static cPlugin *pTVScrapper = cPluginManager::GetPlugin("tvscrapper"); - if (pTVScrapper) { + static cPlugin *pTVScraper = cPluginManager::GetPlugin("tvscraper"); + if (pTVScraper) { mediaInfo.event = event; mediaInfo.isRecording = true; - if (pTVScrapper->Service("TVScrapperGetFullInformation", &mediaInfo)) { + if (pTVScraper->Service("TVScraperGetFullInformation", &mediaInfo)) { hasAdditionalMedia = true; } } |