From 9a9a347ee312976fbcdda68bdf0869f6c1c3f4ab Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Sun, 7 Apr 2013 23:02:26 +0200 Subject: [PATCH] * src/gui/audioplayer.cpp: Fix segfault in audioplayer osd --- src/gui/audioplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 9c87241de..4807aeb23 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -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;