From f70a606ea75cc1d03d335b3da1122f4cd7d0e381 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 2 Oct 2000 12:38:12 +0000 Subject: [PATCH] Local remove of first key in list wasn't working git-svn-id: svn://svn.tartarus.org/sgt/putty@662 cda61777-01e9-0310-a592-d414129be87e --- pageant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageant.c b/pageant.c index 0c341ea6..62f60db2 100644 --- a/pageant.c +++ b/pageant.c @@ -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; } -- 2.11.0