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:
parent
106939c165
commit
4fa0dc6087
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue