From 6f122b3b3f005578f0fa1bd40b54c08be0442c53 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 25 Oct 2016 11:06:12 +0200 Subject: [PATCH] moviebrowser: fix max_width in info-box Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/301f31267382f07e9f48c13d9b92ba885f04508a Author: vanhofen Date: 2016-10-25 (Tue, 25 Oct 2016) Origin message was: ------------------ - moviebrowser: fix max_width in info-box --- src/gui/moviebrowser/mb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 11f4c5156..20a3ff6fd 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -1336,7 +1336,7 @@ void CMovieBrowser::refreshMovieInfo(void) } if (pic) flogo_w = pic->getWidth(); - m_pcInfo->setText(&m_movieSelectionHandler->epgInfo2, m_cBoxFrameInfo.iWidth - flogo_w - 24); + m_pcInfo->setText(&m_movieSelectionHandler->epgInfo2, m_cBoxFrameInfo.iWidth - flogo_w - (flogo_w ? 24 : 0)); if (pic) pic->paint(CC_SAVE_SCREEN_NO); }