X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4dee460f19582a5707e42eb1aa2025f29c7b9d8c..e35fb54b2ce23c668414c0f5cd072c709374fc6d:/unix/gtkdlg.c diff --git a/unix/gtkdlg.c b/unix/gtkdlg.c index 4ca84573..7e30adbe 100644 --- a/unix/gtkdlg.c +++ b/unix/gtkdlg.c @@ -152,6 +152,8 @@ static void dlg_init(struct dlgparam *dp) dp->coloursel_result.ok = FALSE; dp->treeitems = NULL; dp->window = dp->cancelbutton = dp->currtreeitem = NULL; + dp->flags = 0; + dp->currfocus = NULL; } static void dlg_cleanup(struct dlgparam *dp)