Browse Source

windows/windows_mphal: Fix missing semicolon.

pull/5788/merge
David Lechner 5 years ago
committed by Damien George
parent
commit
d0edaf88a3
  1. 4
      ports/windows/windows_mphal.c

4
ports/windows/windows_mphal.c

@ -199,8 +199,8 @@ int mp_hal_stdin_rx_chr(void) {
INPUT_RECORD rec;
for (;;) {
MP_THREAD_GIL_EXIT();
status = ReadConsoleInput(std_in, &rec, 1, &num_read)
MP_THREAD_GIL_ENTER();
status = ReadConsoleInput(std_in, &rec, 1, &num_read);
MP_THREAD_GIL_ENTER();
if (!status || !num_read) {
return CHAR_CTRL_C; // EOF, ctrl-D
}

Loading…
Cancel
Save