remove duplicate code

This commit is contained in:
Christian Hesse 2015-07-16 08:17:12 +02:00
parent 1728483aa2
commit 77df258636
1 changed files with 0 additions and 14 deletions

14
htop.c
View File

@ -184,20 +184,6 @@ int main(int argc, char** argv) {
} }
#endif #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(); Process_setupColumnWidths();
UsersTable* ut = UsersTable_new(); UsersTable* ut = UsersTable_new();