driver/rcinput: let getUnicodeValue() return const char *

Origin commit data
------------------
Commit: 34c23ed7a5
Author: martii <m4rtii@gmx.de>
Date: 2014-02-23 (Sun, 23 Feb 2014)
This commit is contained in:
martii
2014-02-23 10:26:34 +01:00
committed by vanhofen
parent d267c7ed24
commit d5685885b9
4 changed files with 21 additions and 27 deletions

View File

@@ -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 */
}