Skip to content

Commit

Permalink
Update common/log.h
Browse files Browse the repository at this point in the history
Co-authored-by: cebtenzzre <[email protected]>
  • Loading branch information
staviq and cebtenzzre authored Oct 25, 2023
1 parent 108b23f commit 8eda531
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions common/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8eda531

Please sign in to comment.