mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
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:
@@ -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){
|
||||
|
Reference in New Issue
Block a user