1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Rename snake_case functions from localisation folder

This commit is contained in:
Michael Steenbeek
2023-01-17 00:12:35 +01:00
committed by GitHub
parent 8504c8d05e
commit b4480b344e
90 changed files with 335 additions and 336 deletions

View File

@@ -79,7 +79,7 @@ void InGameConsole::Input(ConsoleInput input)
std::memcpy(_consoleCurrentLine, _consoleHistory[_consoleHistoryIndex], CONSOLE_INPUT_SIZE);
}
_consoleTextInputSession->Size = strlen(_consoleTextInputSession->Buffer);
_consoleTextInputSession->Length = utf8_length(_consoleTextInputSession->Buffer);
_consoleTextInputSession->Length = UTF8Length(_consoleTextInputSession->Buffer);
_consoleTextInputSession->SelectionStart = strlen(_consoleCurrentLine);
break;
case ConsoleInput::HistoryNext:
@@ -88,7 +88,7 @@ void InGameConsole::Input(ConsoleInput input)
_consoleHistoryIndex++;
std::memcpy(_consoleCurrentLine, _consoleHistory[_consoleHistoryIndex], CONSOLE_INPUT_SIZE);
_consoleTextInputSession->Size = strlen(_consoleTextInputSession->Buffer);
_consoleTextInputSession->Length = utf8_length(_consoleTextInputSession->Buffer);
_consoleTextInputSession->Length = UTF8Length(_consoleTextInputSession->Buffer);
_consoleTextInputSession->SelectionStart = strlen(_consoleCurrentLine);
}
else