From 9baeab4ce9dfce1723bec86025333e693e734f0d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 17 Dec 2024 03:21:55 -0500 Subject: fix highlighting of 0x7f (delete) character --- uxd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uxd.c') diff --git a/uxd.c b/uxd.c index 55f02c6..0347917 100644 --- a/uxd.c +++ b/uxd.c @@ -562,7 +562,7 @@ int dump_utf8_char(void) { } /* look at 1st byte to find out how long the sequence is */ - if(c < 0x7f) { + if(c <= 0x7f) { ascii_count++; cont_count = 0; if(c <= ' ' || c == 0x7f) -- cgit v1.2.3