mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
CMenuItem: reduce scope of str, trivial
This commit is contained in:
@@ -142,10 +142,9 @@ void CMenuItem::paintItemCaption(const bool select_mode, const int &item_height,
|
|||||||
{
|
{
|
||||||
if (select_mode)
|
if (select_mode)
|
||||||
{
|
{
|
||||||
char str[256];
|
|
||||||
|
|
||||||
if (right_text != NULL)
|
if (right_text != NULL)
|
||||||
{
|
{
|
||||||
|
char str[256];
|
||||||
snprintf(str, 255, "%s %s", left_text, right_text);
|
snprintf(str, 255, "%s %s", left_text, right_text);
|
||||||
CVFD::getInstance()->showMenuText(0, str, -1, true);
|
CVFD::getInstance()->showMenuText(0, str, -1, true);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user