Oops - initialise sesslist_has_focus.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 13 May 2001 13:11:53 +0000 (13:11 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 13 May 2001 13:11:53 +0000 (13:11 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1119 cda61777-01e9-0310-a592-d414129be87e

windlg.c

index 6242386..641dd65 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -1344,6 +1344,7 @@ static int GenericMainDlgProc(HWND hwnd, UINT msg,
        }
 
        SetWindowLong(hwnd, GWL_USERDATA, 1);
+       sesslist_has_focus = 0;
        return 0;
       case WM_LBUTTONUP:
        /*