CMenuItem: reduce scope of str, trivial

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9dc59ec556
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-09 (Wed, 09 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-04-09 17:19:30 +02:00
parent 771a0cd265
commit bb3dc6982e

View File

@@ -142,10 +142,9 @@ void CMenuItem::paintItemCaption(const bool select_mode, const int &item_height,
{
if (select_mode)
{
char str[256];
if (right_text != NULL)
{
char str[256];
snprintf(str, 255, "%s %s", left_text, right_text);
CVFD::getInstance()->showMenuText(0, str, -1, true);
}