Skip to content

Commit

Permalink
fix charset error in windows(OEM 437).
Browse files Browse the repository at this point in the history
  • Loading branch information
Silica163 committed May 13, 2023
1 parent 46cc841 commit 9731744
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 2048.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ void print_state(int (*state)[ROW][COL],int *score){
"─","│"
};
#else
char bars[][4] = {
"+","+","+",
"+","+","+",
"+","+","+",
"-","|"
char bars[][2] = {
"\xda","\xc2","\xbf",
"\xc3","\xc5","\xb4",
"\xc0","\xc1","\xd9",
"\xc4","\xb3"
};
#endif

Expand Down

0 comments on commit 9731744

Please sign in to comment.