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
FALSE,
FALSE,
FALSE,
- OEM_CHARSET,
+ CodePageToCharSet(pConInfo->CodePage),
OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY,
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;
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);