diff options
author | Christian Hesse <mail@eworm.de> | 2015-07-17 14:33:34 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-08-19 22:42:34 +0200 |
commit | d8e23bb0847d766d7f3fdf8bdd11f7d70829fad8 (patch) | |
tree | 76e41872d9bf93f03cc45549021c6988538f5f67 /ListItem.c | |
parent | 9e67b6585ec42d16fd73a4f2df372f54f1188a32 (diff) |
remove UTF-8 code when compiling with --disable-unicode
Diffstat (limited to 'ListItem.c')
-rw-r--r-- | ListItem.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); } |