From 5ec80bd249a37147207ec2ef420086336ccf78a8 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 16 Apr 2020 14:25:35 +0000 Subject: Move the UTF-8 flag to terminal flags. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index a068c1a6..239d1cde 100644 --- a/tty.c +++ b/tty.c @@ -1255,7 +1255,7 @@ tty_check_codeset(struct tty *tty, const struct grid_cell *gc) return (gc); /* UTF-8 terminal and a UTF-8 character - fine. */ - if (tty->flags & TTY_UTF8) + if (tty_get_flags(tty) & TERM_UTF8) return (gc); /* Replace by the right number of underscores. */ -- cgit