Fixed odd output

Caused non-ANSI characters to be rendered as other characters on CMD.

Signed-off-by: luca0N! <63941044+luca0N@users.noreply.github.com>
This commit is contained in:
luca0N! 2020-05-23 01:49:54 -03:00
parent d2f81d63ca
commit 7d6253397f
No known key found for this signature in database
GPG Key ID: 9F1B99B522287CAB
1 changed files with 2 additions and 0 deletions

2
main.c
View File

@ -83,6 +83,8 @@ void cleanDir(const char* path){
}
int main(void){
SetConsoleOutputCP(CP_UTF8);
printLicense(0);
printf("--------------------\n%s %d, %s\n", PROGRAM_NAME, PROGRAM_SEASON, PROGRAM_VERSION);