mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
Merge branch 'Xalloc_Cleanup' of cgzones/htop
This commit is contained in:
2
CRT.c
2
CRT.c
@ -658,7 +658,7 @@ void CRT_init(int delay, int colorScheme, bool allowUnicode) {
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
||||
#ifdef HAVE_LIBNCURSESW
|
||||
if (allowUnicode && strcmp(nl_langinfo(CODESET), "UTF-8") == 0)
|
||||
if (allowUnicode && String_eq(nl_langinfo(CODESET), "UTF-8"))
|
||||
CRT_utf8 = true;
|
||||
else
|
||||
CRT_utf8 = false;
|
||||
|
Reference in New Issue
Block a user