Skip to content

Commit

Permalink
Fix SetPrintFormattingStatus("*stdout*",X) changing oldest, not newes…
Browse files Browse the repository at this point in the history
…t, output
  • Loading branch information
ChrisJefferson committed May 18, 2021
1 parent 73636ee commit b341e68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1857,8 +1857,6 @@ static Obj FuncSET_PRINT_FORMATTING_STDOUT(Obj self, Obj val)
TypOutputFile * output = IO()->Output;
if (!output)
ErrorMayQuit("SET_PRINT_FORMATTING_STDOUT called while no output is opened\n", 0, 0);
while (output->prev)
output = output->prev;
output->format = (val != False);
return val;
}
Expand Down

0 comments on commit b341e68

Please sign in to comment.