diff options
author | Daniel Lange <DLange@git.local> | 2020-10-20 10:23:47 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2020-10-20 10:23:47 +0200 |
commit | 0ea18a6edbbf97c7bab21bb2aab40cf8213858e3 (patch) | |
tree | 2a59ddc7ac580630f8d7088664b08b99f0761852 /CRT.c | |
parent | 9f1a9ab2c2d5984887f5b821afd34a8480790877 (diff) | |
parent | 4c66eb6d4cbdddc658e5f0274d8130155c6013f1 (diff) |
Merge branch 'Xalloc_Cleanup' of cgzones/htop
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |