MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / LocalizeCharacter

Function LocalizeCharacter

src/Misc/TextInput.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18wchar_t LocalizeCharacter(char character)
19{
20 wchar_t result;
21 UINT codepage = GetCurentCodepage();
22 MultiByteToWideChar(codepage, MB_USEGLYPHCHARS, &character, 1, &result, 1);
23 return result;
24}
25
26DEFINE_HOOK(0x5D46C7, MessageListClass_Input, 0x5)
27{

Callers 1

TextInput.cppFile · 0.85

Calls 1

GetCurentCodepageFunction · 0.85

Tested by

no test coverage detected