Made a minor error when adding the multi-select coding to cheat.cpp. This fixes it.
This commit is contained in:
parent
0008e1313e
commit
2f4384c1d5
|
@ -332,7 +332,6 @@ BOOL CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
|
||||||
if (real == 16) {
|
if (real == 16) {
|
||||||
SendMessage(hwndDlg,WM_VSCROLL,SB_LINEDOWN,0);
|
SendMessage(hwndDlg,WM_VSCROLL,SB_LINEDOWN,0);
|
||||||
SendDlgItemMessage(hwndDlg,IDC_CHEAT_LIST_POSSIBILITIES,LB_SETCURSEL,real,0);
|
SendDlgItemMessage(hwndDlg,IDC_CHEAT_LIST_POSSIBILITIES,LB_SETCURSEL,real,0);
|
||||||
SendDlgItemMessage(hwndDlg,IDC_LIST_CHEATS,LB_SETSEL,(WPARAM)1,real);
|
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue