diff --git a/sakura_core/env/CShareData_IO.cpp b/sakura_core/env/CShareData_IO.cpp index ee3b6740b9..e0550f7ea3 100644 --- a/sakura_core/env/CShareData_IO.cpp +++ b/sakura_core/env/CShareData_IO.cpp @@ -97,7 +97,7 @@ bool CShareData_IO::ShareData_IO_2( bool bRead ) /* 設定ファイルが存在しない */ LANGID langId = GetUserDefaultUILanguage(); // Windowsの表示言語が日本語でない場合は言語設定を英語にする - if (langId != 0x0411) { + if (langId != MAKELANGID( LANG_JAPANESE, SUBLANG_JAPANESE_JAPAN )) { DLLSHAREDATA* pShareData = &GetDllShareData(); _tcscpy(pShareData->m_Common.m_sWindow.m_szLanguageDll, L"sakura_lang_en_US.dll"); cProfile.IOProfileData( L"Common", L"szLanguageDll", MakeStringBufferT( pShareData->m_Common.m_sWindow.m_szLanguageDll ) );