Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
77df2586
Commit
77df2586
authored
Jul 16, 2015
by
Christian Hesse
Browse files
remove duplicate code
parent
1728483a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htop.c
View file @
77df2586
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment