From 95be2d94d752b20d3d57c1006af8d518a6c1b843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 23 Jan 2017 22:33:29 +0100 Subject: [PATCH] Don't rely on L'' being Unicode --- tui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui.c b/tui.c index 38bb113..726ec57 100644 --- a/tui.c +++ b/tui.c @@ -191,7 +191,7 @@ row_buffer_ellipsis (struct row_buffer *self, int target) // We use attributes from the last character we've removed, // assuming that we don't shrink the array (and there's no real need) - ucs4_t ellipsis = L'…'; + ucs4_t ellipsis = 0x2026; // … if (app_is_character_in_locale (ellipsis)) { if (self->total_width >= target)