X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwindlg.c;h=783116161ed1a535987b40dd9958f84fdab5914d;hb=21101c7397e460933635a7bfed813864fc4f88fe;hp=5bedd1309933a492c6e9a6a9b44fbd19dfb843d3;hpb=b266d671acee34f9305950bfd87054b3b7fcded6;p=PuTTY.git diff --git a/windows/windlg.c b/windows/windlg.c index 5bedd130..78311616 100644 --- a/windows/windlg.c +++ b/windows/windlg.c @@ -505,6 +505,7 @@ static int CALLBACK GenericMainDlgProc(HWND hwnd, UINT msg, * And create the actual control set for that panel, to * match the initial treeview selection. */ + assert(firstpath); /* config.c must have given us _something_ */ create_controls(hwnd, firstpath); dlg_refresh(NULL, &dp); /* and set up control values */ }