aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-01-23 22:33:29 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2017-01-23 22:33:29 +0100
commit95be2d94d752b20d3d57c1006af8d518a6c1b843 (patch)
tree06d38b4b088688ff564af1ba4e48bf28ff0bc0d5
parent3af8b547e200f459d5c0989ba97bc9d8c1f9e68f (diff)
downloadhex-95be2d94d752b20d3d57c1006af8d518a6c1b843.tar.gz
hex-95be2d94d752b20d3d57c1006af8d518a6c1b843.tar.xz
hex-95be2d94d752b20d3d57c1006af8d518a6c1b843.zip
Don't rely on L'' being Unicode
-rw-r--r--tui.c2
1 files changed, 1 insertions, 1 deletions
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)