win32: fix bug with OK button not working right in 7z archive browser
This commit is contained in:
parent
3bf810631e
commit
f15a131a20
|
@ -312,7 +312,7 @@ static BOOL CALLBACK ArchiveFileSelectorCallback(HWND hwndDlg, UINT uMsg, WPARAM
|
|||
return TRUE;
|
||||
|
||||
case IDOK:
|
||||
EndDialog(hwndDlg,SendMessage((HWND)lParam,LB_GETCURSEL,0,0));
|
||||
EndDialog(hwndDlg,SendMessage(GetDlgItem(hwndDlg,IDC_LIST1),LB_GETCURSEL,0,0));
|
||||
return TRUE;
|
||||
|
||||
case IDCANCEL:
|
||||
|
|
Loading…
Reference in New Issue