Skip to content

Commit

Permalink
FIX: typo in previous commits
Browse files Browse the repository at this point in the history
related to: #65
  • Loading branch information
Oldes committed Apr 14, 2023
1 parent b0412a6 commit 6c458fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/os/posix/dev-stdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,12 @@ static void Close_StdIO_Local(void)
}
break;
case MODE_CONSOLE_LINE:
if (req->modify.value)
if (req->modify.value) {
SET_FLAG(req->modes, RDM_READ_LINE);
}
else {
CLR_FLAG(req->modes, RDM_READ_LINE);
}
break;
case MODE_CONSOLE_ERROR:
Std_Out = req->modify.value ? STDERR_FILENO : STDOUT_FILENO;
Expand Down

0 comments on commit 6c458fd

Please sign in to comment.