src/gui/audioplayer.cpp: Fix segfault in audioplayer osd

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9a9a347ee3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-07 (Sun, 07 Apr 2013)

Origin message was:
------------------
* src/gui/audioplayer.cpp: Fix segfault in audioplayer osd

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

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-04-07 23:02:26 +02:00
parent 31a7ba361b
commit 8e2aeb7b4a

View File

@@ -1525,8 +1525,8 @@ void CAudioPlayerGui::hide()
// printf("hide(){\n");
if (m_visible)
{
m_frameBuffer->paintBackgroundBoxRel(m_x - ConnectLineBox_Width-1, m_y + m_title_height - 1,
m_width + ConnectLineBox_Width+2, m_height + 2 - m_title_height);
m_frameBuffer->paintBackgroundBoxRel(m_x - ConnectLineBox_Width, m_y + m_title_height,
m_width + ConnectLineBox_Width, m_height - m_title_height);
clearItemID3DetailsLine();
m_frameBuffer->paintBackgroundBoxRel(m_x, m_y, m_width, m_title_height);
m_visible = false;