aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-17 03:21:55 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-17 03:21:55 -0500
commit9baeab4ce9dfce1723bec86025333e693e734f0d (patch)
tree637d9d4f27ba97681a5873bab8818fae1b1710ac
parent501c53eefe39f8aa34444a1d2ebfd507662f98fd (diff)
downloaduxd-9baeab4ce9dfce1723bec86025333e693e734f0d.tar.gz
fix highlighting of 0x7f (delete) character
-rw-r--r--uxd.c2
1 files changed, 1 insertions, 1 deletions
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)