mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Remove use of 'auto' keyword.
This commit is contained in:
parent
54fa2bcdab
commit
2de459cb2e
1 changed files with 2 additions and 2 deletions
|
|
@ -496,10 +496,10 @@ InputManager* Input::getManager()
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void Input::attemptSwitchToKeyboardLayout( U32 layout )
|
void Input::attemptSwitchToKeyboardLayout( U32 layout )
|
||||||
{
|
{
|
||||||
const auto lang = MAKELANGID( layout, SUBLANG_DEFAULT );
|
const LANGID lang = MAKELANGID( layout, SUBLANG_DEFAULT );
|
||||||
std::wstringstream ss;
|
std::wstringstream ss;
|
||||||
ss << std::hex << lang;
|
ss << std::hex << lang;
|
||||||
const auto hexLang = ss.str().c_str();
|
const wchar_t* hexLang = ss.str().c_str();
|
||||||
ActivateKeyboardLayout( LoadKeyboardLayout(
|
ActivateKeyboardLayout( LoadKeyboardLayout(
|
||||||
hexLang, KLF_ACTIVATE | KLF_REPLACELANG
|
hexLang, KLF_ACTIVATE | KLF_REPLACELANG
|
||||||
), KLF_REORDER );
|
), KLF_REORDER );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue