v4.0.0rc-6 - update successlog to not depend on unicode output

This commit is contained in:
Liam Waldron 2024-11-05 08:52:24 -05:00
parent e39f31e411
commit ce5189c94a
2 changed files with 2 additions and 5 deletions

View File

@ -1 +1 @@
4.0.0-rc5 4.0.0-rc6

View File

@ -133,14 +133,11 @@ errlog(char MSG[])
void void
successlog(char MSG[]) successlog(char MSG[])
{ {
const wchar_t w_check = 0x2713;
setlocale(LC_CTYPE, "");
if (MSG == NULL) { if (MSG == NULL) {
return; return;
} }
printf(COL_GREEN "[%lc]" COL_RESET " %s\n", w_check, MSG); printf(COL_GREEN "[*]" COL_RESET " %s\n", MSG);
return; return;
} }