Skip to content

Commit

Permalink
Fix -e encoding on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nunuhara committed Apr 8, 2022
1 parent 38df5ea commit ac248c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,9 +681,7 @@ void exec_strswitch(int no, struct string *str)

static void echo_message(int i)
{
char *u = sjis2utf(ain->messages[i]->text, ain->messages[i]->size);
NOTICE("MSG %d: %s", i, u);
free(u);
NOTICE("MSG %d: %s", i, display_sjis0(ain->messages[i]->text));
}

static enum opcode execute_instruction(enum opcode opcode)
Expand Down

0 comments on commit ac248c3

Please sign in to comment.