mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
user_menue: fix possible segfault, after remove channelist
Origin commit data
------------------
Branch: ni/coolstream
Commit: 24188fa432
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-02-15 (Sat, 15 Feb 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -200,7 +200,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
|
||||
bool _mode_ts = CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts;
|
||||
bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) &&
|
||||
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
|
||||
(CZapit::getInstance()->GetCurrentChannel() && !CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
|
||||
|
||||
int rec_mode = (CRecordManager::getInstance()->GetRecordMode() & CRecordManager::RECMODE_REC_TSHIFT);
|
||||
bool timeshift = CMoviePlayerGui::getInstance().timeshift;
|
||||
|
Reference in New Issue
Block a user