CMenuOptionLanguageChooser:prevent alter of value conversion

compiler warning: wconversion


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4ddf59b175
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-04 (Wed, 04 Sep 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-09-04 11:47:54 +02:00
parent 8358ac8c6b
commit bd520a8e67

View File

@@ -1664,7 +1664,7 @@ int CMenuOptionLanguageChooser::paint( bool selected )
//convert first letter to large
std::string s_optionValue = optionValue;
if(!s_optionValue.empty())
s_optionValue[0] = toupper(s_optionValue[0]);
s_optionValue[0] = (char)toupper(s_optionValue[0]);
//paint text
paintItemCaption(selected, height , s_optionValue.c_str());