mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CONSOLE.CPL]: Paint the text samples using the correct character set (derived from the current code page).
This e.g. fixes display for the backslash symbol in CJK languages (that should appear as the Chinese "yuan" / Japanese "yen" currency symbol ¥, or the Korean "won" currency symbol ₩). CORE-12451 svn path=/trunk/; revision=74366
This commit is contained in:
@@ -131,7 +131,7 @@ PaintText(LPDRAWITEMSTRUCT drawItem,
|
||||
FALSE,
|
||||
FALSE,
|
||||
FALSE,
|
||||
OEM_CHARSET,
|
||||
CodePageToCharSet(pConInfo->CodePage),
|
||||
OUT_DEFAULT_PRECIS,
|
||||
CLIP_DEFAULT_PRECIS,
|
||||
DEFAULT_QUALITY,
|
||||
@@ -233,11 +233,11 @@ LayoutProc(HWND hwndDlg,
|
||||
|
||||
case WM_NOTIFY:
|
||||
{
|
||||
LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam;
|
||||
LPPSHNOTIFY lppsn = (LPPSHNOTIFY)lParam;
|
||||
LPPSHNOTIFY lppsn = (LPPSHNOTIFY)lParam;
|
||||
|
||||
if (lppsn->hdr.code == UDN_DELTAPOS)
|
||||
{
|
||||
LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam;
|
||||
DWORD wheight, wwidth;
|
||||
DWORD sheight, swidth;
|
||||
DWORD left, top;
|
||||
|
||||
@@ -107,11 +107,12 @@ OptionsProc(HWND hwndDlg,
|
||||
|
||||
case WM_NOTIFY:
|
||||
{
|
||||
LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam;
|
||||
LPPSHNOTIFY lppsn = (LPPSHNOTIFY)lParam;
|
||||
LPPSHNOTIFY lppsn = (LPPSHNOTIFY)lParam;
|
||||
|
||||
if (lppsn->hdr.code == UDN_DELTAPOS)
|
||||
{
|
||||
LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam;
|
||||
|
||||
if (lppsn->hdr.idFrom == IDC_UPDOWN_BUFFER_SIZE)
|
||||
{
|
||||
lpnmud->iPos = min(max(lpnmud->iPos + lpnmud->iDelta, 1), 999);
|
||||
|
||||
Reference in New Issue
Block a user