summaryrefslogtreecommitdiffstats
path: root/ListItem.c
diff options
context:
space:
mode:
Diffstat (limited to 'ListItem.c')
-rw-r--r--ListItem.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ListItem.c b/ListItem.c
index 68fd9ffe..07788e73 100644
--- a/ListItem.c
+++ b/ListItem.c
@@ -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);
}