aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-17 22:57:11 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-17 22:57:11 -0500
commitde285b51e9959f78556c77bdc95080d60e76e612 (patch)
tree7dfa24c7335dc8cd6183cf2426ebf2b23ae14760
parent6a1e3a32397c313c46370f0bbff7da5801fa3b7b (diff)
downloaduxd-de285b51e9959f78556c77bdc95080d60e76e612.tar.gz
fix byte count for missing continuation bytes.
-rw-r--r--uxd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uxd.c b/uxd.c
index 40febb0..21bcfba 100644
--- a/uxd.c
+++ b/uxd.c
@@ -644,6 +644,7 @@ int dump_utf8_char(void) {
cont_count = i;
bad = 1;
push_back_byte(cb);
+ byte_count--;
break;
}
}