v4.0.0rc-6 - update successlog to not depend on unicode output
This commit is contained in:
parent
e39f31e411
commit
ce5189c94a
@ -133,14 +133,11 @@ errlog(char MSG[])
|
||||
void
|
||||
successlog(char MSG[])
|
||||
{
|
||||
const wchar_t w_check = 0x2713;
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
||||
if (MSG == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
printf(COL_GREEN "[%lc]" COL_RESET " %s\n", w_check, MSG);
|
||||
printf(COL_GREEN "[*]" COL_RESET " %s\n", MSG);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user