fixed bug #1168711 - when leaving the directory page, only set log_dolog if the check box was created

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3954 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-04-08 14:36:19 +00:00
parent 106939c165
commit 4fa0dc6087

View file

@ -831,7 +831,8 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
#ifndef NSIS_CONFIG_LOG_ODS
build_g_logfile();
#endif
log_dolog = IsDlgButtonChecked(hwndDlg,IDC_CHECK1);
if (GetUIItem(IDC_CHECK1) != NULL)
log_dolog = IsDlgButtonChecked(hwndDlg,IDC_CHECK1);
#endif
}
if (uMsg == WM_INITDIALOG)