From f467fec27bc25d51020ce482750361c102417efb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 18 Dec 2024 05:33:24 -0500 Subject: variable name nitpick --- uxd.c | 4 ++-- 1 file 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; -- cgit v1.2.3