Don't rely on L'' being Unicode

This commit is contained in:
Přemysl Eric Janouch 2017-01-23 22:33:29 +01:00
parent 3af8b547e2
commit 95be2d94d7
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 1 deletions

2
tui.c
View File

@ -191,7 +191,7 @@ row_buffer_ellipsis (struct row_buffer *self, int target)
// We use attributes from the last character we've removed, // We use attributes from the last character we've removed,
// assuming that we don't shrink the array (and there's no real need) // 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 (app_is_character_in_locale (ellipsis))
{ {
if (self->total_width >= target) if (self->total_width >= target)