mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
driver/rcinput: let getUnicodeValue() return const char *
This commit is contained in:
@@ -430,7 +430,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
|
||||
{
|
||||
keyRightPressed();
|
||||
}
|
||||
else if (CRCInput::getUnicodeValue(msg) != -1)
|
||||
else if (*CRCInput::getUnicodeValue(msg))
|
||||
{
|
||||
NormalKeyPressed(msg);
|
||||
}
|
||||
@@ -701,7 +701,7 @@ void CStringInputSMS::NormalKeyPressed(const neutrino_msg_t key)
|
||||
}
|
||||
else
|
||||
{
|
||||
valueString->at(selected) = (char)CRCInput::getUnicodeValue(key);
|
||||
valueString->at(selected) = *CRCInput::getUnicodeValue(key);
|
||||
keyRedPressed(); /* to lower, paintChar */
|
||||
keyRightPressed(); /* last_digit = -1, move to next position */
|
||||
}
|
||||
|
Reference in New Issue
Block a user