aboutsummaryrefslogtreecommitdiff
path: root/uxd.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-18 05:33:24 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-18 05:33:24 -0500
commitf467fec27bc25d51020ce482750361c102417efb (patch)
tree01b71177dcf64d25d8235a2f783e094450dc2619 /uxd.c
parentccf7537e33044c163df46b7097303e18d2c46a04 (diff)
downloaduxd-f467fec27bc25d51020ce482750361c102417efb.tar.gz
variable name nitpick
Diffstat (limited to 'uxd.c')
-rw-r--r--uxd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uxd.c b/uxd.c
index 0e461e0..e32356b 100644
--- a/uxd.c
+++ b/uxd.c
@@ -556,8 +556,8 @@ int is_overlong(int cont_count, unsigned char *b) {
/* U+10FFFF is the last valid codepoint. It encodes to f4 8f bf bf.
'count' is the count of continuation bytes only (so, 3 for a 4-byte
sqeuence). */
-int is_out_of_range(int count, unsigned char *b) {
- if(count < 3) return 0;
+int is_out_of_range(int cont_count, unsigned char *b) {
+ if(cont_count < 3) return 0;
if(b[0] < 0xf4) return 0;
if(b[1] < 0x90) return 0;
return 1;