mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
renamed Unicode -> TextOperations, to use for all text processing
This commit is contained in:
@@ -570,12 +570,12 @@ void CTextInput::keyPressed(const SDL_Keycode & key)
|
||||
case SDLK_BACKSPACE:
|
||||
if(!newText.empty())
|
||||
{
|
||||
Unicode::trimRight(newText);
|
||||
TextOperations::trimRightUnicode(newText);
|
||||
redrawNeeded = true;
|
||||
}
|
||||
else if(!text.empty())
|
||||
{
|
||||
Unicode::trimRight(text);
|
||||
TextOperations::trimRightUnicode(text);
|
||||
redrawNeeded = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user