Include current ANSI codepage into debug information

Close #8303, close #8306
pull/8312/head
Udo Hoffmann 5 years ago committed by Don HO
parent e27d1a94c9
commit 3a9a31afb4
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

@ -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…
Cancel
Save