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

This commit is contained in:
lw-everestlinux committed 2024-11-05 08:52:24 -05:00
1 parent e39f31e411
commit ce5189c94a
2 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -1 +1 @@
4.0.0-rc5 4.0.0-rc6
+1 -4
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;
} }