Skip to content

Commit

Permalink
FIX: Console string input does not handle percent char correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Apr 10, 2024
1 parent ca8b40a commit 409c96e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os/host-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ void Host_Repl(void) {
if (cont_level < MAX_CONT_LEVEL) cont_stack[cont_level] = '{';
cont_level++;
state = INPUT_RAW_STRING;
line_len += n;
utf8byte += n;
}
line_len += n;
utf8byte += n;
break;
}
}
Expand Down

0 comments on commit 409c96e

Please sign in to comment.