diff options
author | Christian Hesse <mail@eworm.de> | 2015-07-16 08:17:12 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-07-16 08:17:12 +0200 |
commit | 77df258636621ec66c688482861aca95f0950ab7 (patch) | |
tree | c3774d552ef6f08a72c57b6e4ebeeb2ee62aaeff | |
parent | 1728483aa280f9f58bca50a7fc26596869770e6a (diff) |
remove duplicate code
-rw-r--r-- | htop.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -184,20 +184,6 @@ int main(int argc, char** argv) { } #endif -#ifdef HAVE_LIBNCURSESW - char *locale = setlocale(LC_ALL, NULL); - if (locale == NULL || locale[0] == '\0') - locale = setlocale(LC_CTYPE, NULL); - if (locale != NULL && - (strstr(locale, "UTF-8") || - strstr(locale, "utf-8") || - strstr(locale, "UTF8") || - strstr(locale, "utf8"))) - CRT_utf8 = true; - else - CRT_utf8 = false; -#endif - Process_setupColumnWidths(); UsersTable* ut = UsersTable_new(); |