Fixed crash in Configuration window.
This commit is contained in:
parent
4011a246ff
commit
23005e8682
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ static BOOL CALLBACK config_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPAR
|
||||||
else
|
else
|
||||||
SendMessage(h, UDM_SETPOS, 0, mem_size / 1024);
|
SendMessage(h, UDM_SETPOS, 0, mem_size / 1024);
|
||||||
accel.nSec = 0;
|
accel.nSec = 0;
|
||||||
accel.nInc = models[temp_model].ram_granularity;
|
accel.nInc = models[model].ram_granularity;
|
||||||
SendMessage(h, UDM_SETACCEL, 1, (LPARAM)&accel);
|
SendMessage(h, UDM_SETACCEL, 1, (LPARAM)&accel);
|
||||||
|
|
||||||
h = GetDlgItem(hdlg, IDC_CONFIGUREVID);
|
h = GetDlgItem(hdlg, IDC_CONFIGUREVID);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue