Made a minor error when adding the multi-select coding to cheat.cpp. This fixes it.

This commit is contained in:
ugetab 2010-05-23 03:47:28 +00:00
parent 0008e1313e
commit 2f4384c1d5
1 changed files with 0 additions and 1 deletions

View File

@ -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;