Skip to content

Commit

Permalink
write18: use append_to_name_char
Browse files Browse the repository at this point in the history
  • Loading branch information
h-kitagawa committed Jan 26, 2022
1 parent bd5b896 commit 30dfb8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion source/texk/ptexenc/ptexenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,11 @@ boolean is_internalUPTEX(void)

boolean is_terminalUTF8(void)
{
return (terminal_enc == ENC_UTF8);
#ifdef WIN32
return false;
#else
get_terminal_enc(); return (terminal_enc == ENC_UTF8);
#endif
}


Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/ptexdir/ptex-base.ch
Original file line number Diff line number Diff line change
Expand Up @@ -6732,7 +6732,7 @@ end
name_of_file := xmalloc(cur_length*4+1);
k := 0;
for d:=0 to cur_length-1 do
append_to_name(str_pool[str_start[str_ptr]+d]);
append_to_name_char(str_pool[str_start[str_ptr]+d]);
name_of_file[k+1] := 0;
runsystem_ret := runsystem(conststringcast(name_of_file+1));
@z
Expand Down

0 comments on commit 30dfb8e

Please sign in to comment.