Include current ANSI codepage into debug information
Close #8303, close #8306
This commit is contained in:
parent
e27d1a94c9
commit
3a9a31afb4
|
@ -234,6 +234,14 @@ INT_PTR CALLBACK DebugInfoDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM /
|
|||
_debugInfoStr += TEXT("\r\n");
|
||||
}
|
||||
|
||||
{
|
||||
TCHAR szACP[32];
|
||||
generic_sprintf(szACP, TEXT("%u"), ::GetACP());
|
||||
_debugInfoStr += TEXT("Current ANSI codepage : ");
|
||||
_debugInfoStr += szACP;
|
||||
_debugInfoStr += TEXT("\r\n");
|
||||
}
|
||||
|
||||
// Detect WINE
|
||||
PWINEGETVERSION pWGV = (PWINEGETVERSION)GetProcAddress(GetModuleHandle(TEXT("ntdll.dll")), "wine_get_version");
|
||||
if (pWGV != NULL)
|
||||
|
|
Loading…
Reference in New Issue