|
|
|
@ -237,7 +237,9 @@ psGrabScreen(RwCamera *pCamera)
|
|
|
|
|
*****************************************************************************
|
|
|
|
|
*/
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
|
#pragma comment( lib, "Winmm.lib" ) // Needed for time
|
|
|
|
|
#endif
|
|
|
|
|
RwUInt32
|
|
|
|
|
psTimer(void)
|
|
|
|
|
{
|
|
|
|
@ -1162,11 +1164,11 @@ void InitialiseLanguage()
|
|
|
|
|
#else
|
|
|
|
|
WORD primUserLCID = PRIMARYLANGID(GetSystemDefaultLCID());
|
|
|
|
|
WORD primSystemLCID = PRIMARYLANGID(GetUserDefaultLCID());
|
|
|
|
|
WORD primLayout = PRIMARYLANGID((DWORD)GetKeyboardLayout(0));
|
|
|
|
|
WORD primLayout = PRIMARYLANGID((DWORD_PTR)GetKeyboardLayout(0));
|
|
|
|
|
|
|
|
|
|
WORD subUserLCID = SUBLANGID(GetSystemDefaultLCID());
|
|
|
|
|
WORD subSystemLCID = SUBLANGID(GetUserDefaultLCID());
|
|
|
|
|
WORD subLayout = SUBLANGID((DWORD)GetKeyboardLayout(0));
|
|
|
|
|
WORD subLayout = SUBLANGID((DWORD_PTR)GetKeyboardLayout(0));
|
|
|
|
|
#endif
|
|
|
|
|
if ( primUserLCID == LANG_GERMAN
|
|
|
|
|
|| primSystemLCID == LANG_GERMAN
|
|
|
|
|