mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 12:44:34 +03:00
remove UTF-8 code when compiling with --disable-unicode
This commit is contained in:
@ -42,7 +42,11 @@ static void ListItem_display(Object* cast, RichString* out) {
|
||||
snprintf(buffer, len, "%s", this->value);
|
||||
*/
|
||||
if (this->moving) {
|
||||
RichString_write(out, CRT_colors[DEFAULT_COLOR], CRT_utf8 ? "↕ " : "+ ");
|
||||
RichString_write(out, CRT_colors[DEFAULT_COLOR],
|
||||
#ifdef HAVE_LIBNCURSESW
|
||||
CRT_utf8 ? "↕ " :
|
||||
#endif
|
||||
"+ ");
|
||||
} else {
|
||||
RichString_prune(out);
|
||||
}
|
||||
|
Reference in New Issue
Block a user