1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Fix unicode values of some characters

This commit is contained in:
Gymnasiast
2018-01-21 16:26:19 +01:00
committed by Michael Steenbeek
parent 6bf09e7abb
commit 498ca56f57
6 changed files with 12 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ static wchar_t encoding_convert_x_to_unicode(wchar_t code, const encoding_conver
else return entry->unicode;
}
wchar_t encoding_convert_unicode_to_rct2(wchar_t unicode)
char32_t encoding_convert_unicode_to_rct2(char32_t unicode)
{
// Can't do a binary search as it's sorted by RCT2 code, not unicode
for (uint32 i = 0; i < Util::CountOf(RCT2ToUnicodeTable); i++) {