osd_setup.cpp: Fix segfault in mode single tuner/display tuner icon

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7a414b7c56
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-10-02 (Tue, 02 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2012-10-02 11:58:12 +02:00
parent b927dd99d0
commit b7dbab80c0
2 changed files with 3 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ COsdSetup::COsdSetup(bool wizard_mode)
is_wizard = wizard_mode;
width = w_max (40, 10); //%
show_tuner_icon = 0;
}
COsdSetup::~COsdSetup()
@@ -763,7 +764,7 @@ void COsdSetup::showOsdInfobarSetup(CMenuWidget *menu_infobar)
// tuner icon
bool mc_active = false;
int show_tuner_icon = 0;
show_tuner_icon = 0;
// show possible option if we in single box mode, but don't touch the real settings
int *p_show_tuner_icon = &show_tuner_icon;
if (CFEManager::getInstance()->getMode() != CFEManager::FE_MODE_SINGLE){