mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
pictureviewer.cpp: fix possible segfault
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4f2a24899e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-05-02 (Wed, 02 May 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -430,7 +430,9 @@ int CPictureViewerGui::show()
|
|||||||
}
|
}
|
||||||
else if (msg==CRCInput::RC_blue)
|
else if (msg==CRCInput::RC_blue)
|
||||||
{
|
{
|
||||||
if ((m_state == MENU) && (!playlist.empty()))
|
if(!playlist.empty())
|
||||||
|
{
|
||||||
|
if (m_state == MENU)
|
||||||
{
|
{
|
||||||
m_time=(long)time(NULL);
|
m_time=(long)time(NULL);
|
||||||
view(selected);
|
view(selected);
|
||||||
@@ -442,6 +444,7 @@ int CPictureViewerGui::show()
|
|||||||
m_state = SLIDESHOW;
|
m_state = SLIDESHOW;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (msg==CRCInput::RC_help)
|
else if (msg==CRCInput::RC_help)
|
||||||
{
|
{
|
||||||
if (m_state == MENU)
|
if (m_state == MENU)
|
||||||
|
Reference in New Issue
Block a user