Update common/log.h
Co-authored-by: cebtenzzre <cebtenzzre@gmail.com>
This commit is contained in:
parent
108b23f748
commit
8eda531b63
1 changed files with 2 additions and 8 deletions
10
common/log.h
10
common/log.h
|
@ -335,15 +335,9 @@ inline FILE *log_handler1_impl(bool change = false, LogTriState append = LogTriS
|
|||
|
||||
if (change)
|
||||
{
|
||||
if (append == LogTriStateTrue)
|
||||
if (append != LogTriStateSame)
|
||||
{
|
||||
_append = true;
|
||||
return logfile;
|
||||
}
|
||||
|
||||
if (append == LogTriStateFalse)
|
||||
{
|
||||
_append = false;
|
||||
_append = append == LogTriStateTrue;
|
||||
return logfile;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue