Commit 3c981715 authored by Anatoly Lyutin's avatar Anatoly Lyutin Committed by Alexandre Julliard

wineconsole: Added range of value for an up-down control.

parent 4284c504
......@@ -67,6 +67,8 @@ static INT_PTR WINAPI WCUSER_OptionDlgProc(HWND hDlg, UINT msg, WPARAM wParam, L
di->hDlg = hDlg;
SetWindowLongPtr(hDlg, DWLP_USER, (LONG_PTR)di);
SendMessage(GetDlgItem(hDlg,IDC_OPT_HIST_SIZE_UD), UDM_SETRANGE, 0, MAKELPARAM (500, 0));
if (di->config.cursor_size <= 25) idc = IDC_OPT_CURSOR_SMALL;
else if (di->config.cursor_size <= 50) idc = IDC_OPT_CURSOR_MEDIUM;
else idc = IDC_OPT_CURSOR_LARGE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment