mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Local remove of first key in list wasn't working
[originally from svn r662]
This commit is contained in:
parent
7fc8ef792f
commit
ab68fc8a96
@ -522,7 +522,7 @@ static int CALLBACK KeyListProc(HWND hwnd, UINT msg,
|
||||
if (HIWORD(wParam) == BN_CLICKED ||
|
||||
HIWORD(wParam) == BN_DOUBLECLICKED) {
|
||||
int n = SendDlgItemMessage (hwnd, 100, LB_GETCURSEL, 0, 0);
|
||||
if (n == LB_ERR || n == 0) {
|
||||
if (n == LB_ERR) {
|
||||
MessageBeep(0);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user