diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-18 05:33:24 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-18 05:33:24 -0500 |
commit | f467fec27bc25d51020ce482750361c102417efb (patch) | |
tree | 01b71177dcf64d25d8235a2f783e094450dc2619 | |
parent | ccf7537e33044c163df46b7097303e18d2c46a04 (diff) | |
download | uxd-f467fec27bc25d51020ce482750361c102417efb.tar.gz |
variable name nitpick
-rw-r--r-- | uxd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |