diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index da6404ef9..e9a401f01 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -189,7 +189,7 @@ void CMenuItem::paintItemButton(const int startX, const int frame_height, const { //paint icon centered, if we using one of these icons. Note: overwrites parameter 'icon_centered' if (!centered) - centered = (icon_name == NEUTRINO_ICON_BUTTON_OKAY || icon_name == NEUTRINO_ICON_BUTTON_HELP || icon_name == NEUTRINO_ICON_BUTTON_HOME); + centered = (icon_name == NEUTRINO_ICON_BUTTON_OKAY || icon_name == NEUTRINO_ICON_BUTTON_HELP || icon_name == NEUTRINO_ICON_BUTTON_HOME || icon_name == NEUTRINO_ICON_BUTTON_RIGHT); if (centered/* || icon_name == NEUTRINO_ICON_BUTTON_OKAY || icon_name == NEUTRINO_ICON_BUTTON_HELP || icon_name == NEUTRINO_ICON_BUTTON_HOME*/) icon_x = x+ ((icon_start_x-x)/2) - (icon_w/2); //centered diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index f864a64ca..a294033a2 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -758,14 +758,14 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/ } //menu->addItem(new CMenuForwarderNonLocalized(buf, true, NULL, selector, cnt), old_selected == i); - menu->addItem(new CMenuForwarderNonLocalized(buf, true, NULL, selector, cnt), false); + menu->addItem(new CMenuForwarderNonLocalized(buf, true, NULL, selector, NULL, CRCInput::RC_nokey, NULL), false); tmplist.insert(std::pair (i, tI->second)); i++; } if (i == 0) { - char text[255]; - sprintf(text, "No transponders found for %s\n", CNeutrinoApp::getInstance()->getScanSettings().satNameNoDiseqc); - ShowHintUTF(LOCALE_MESSAGEBOX_ERROR, text, 450, 2); + std::string text = "No transponders found for "; + text += CNeutrinoApp::getInstance()->getScanSettings().satNameNoDiseqc; + ShowHintUTF(LOCALE_MESSAGEBOX_ERROR, text.c_str(), 450, 2); return menu_return::RETURN_REPAINT; } menu->setSelected(old_selected);