CInfoViewerBB: No blank space for radiotext icon when radiotext is off

This commit is contained in:
M. Liebmann
2013-11-23 13:40:27 +01:00
parent 15e6203ca2
commit 9b07942f3f

View File

@@ -173,7 +173,7 @@ void CInfoViewerBB::getBBIconInfo()
iconView = checkBBIcon(NEUTRINO_ICON_VTXT, &w, &h); iconView = checkBBIcon(NEUTRINO_ICON_VTXT, &w, &h);
break; break;
case CInfoViewerBB::ICON_RT: case CInfoViewerBB::ICON_RT:
if (neutrino->getMode() == NeutrinoMessages::mode_radio) if ((neutrino->getMode() == NeutrinoMessages::mode_radio) && g_settings.radiotext_enable)
iconView = checkBBIcon(NEUTRINO_ICON_RADIOTEXTGET, &w, &h); iconView = checkBBIcon(NEUTRINO_ICON_RADIOTEXTGET, &w, &h);
break; break;
case CInfoViewerBB::ICON_DD: case CInfoViewerBB::ICON_DD: