check if log_dolog is set for NSIS_CONFIG_LOG_STDOUT as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4511 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
94f7f3b673
commit
2c7ee57a18
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ void log_printf(char *format, ...)
|
|||
OutputDebugString(log_text);
|
||||
#endif
|
||||
#ifdef NSIS_CONFIG_LOG_STDOUT
|
||||
if (GetStdHandle(STD_OUTPUT_HANDLE) != INVALID_HANDLE_VALUE)
|
||||
if (log_dolog && GetStdHandle(STD_OUTPUT_HANDLE) != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
DWORD dwBytes;
|
||||
WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), log_text, lstrlen(log_text), &dwBytes, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue