summaryrefslogtreecommitdiffhomepage
path: root/src/utf8code.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-04-08 22:37:06 +0200
committerGitHub <[email protected]>2023-04-08 22:37:06 +0200
commit43120f2863a67db416ec3b379eb820e2704cafb7 (patch)
treef3b9917940f94c1582bc39ea6f56b735295ec861 /src/utf8code.c
parente8be14dfc894eeac859f0287d4d5b4f4745c0585 (diff)
parent6426ac05eb8c4dc1ab22aae2eb4139f9671981b7 (diff)
downloadSTC-modified-43120f2863a67db416ec3b379eb820e2704cafb7.tar.gz
STC-modified-43120f2863a67db416ec3b379eb820e2704cafb7.zip
Merge pull request #53 from tylov/dev42
Version 4.2 RC
Diffstat (limited to 'src/utf8code.c')
-rw-r--r--src/utf8code.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utf8code.c b/src/utf8code.c
index ecfdd24d..496f5eef 100644
--- a/src/utf8code.c
+++ b/src/utf8code.c
@@ -142,7 +142,7 @@ bool utf8_isalpha(uint32_t c) {
static int16_t groups[] = {U8G_Latin, U8G_Nl, U8G_Greek, U8G_Cyrillic,
U8G_Han, U8G_Devanagari, U8G_Arabic};
if (c < 128) return isalpha((int)c) != 0;
- for (int j=0; j < c_ARRAYLEN(groups); ++j)
+ for (int j=0; j < c_arraylen(groups); ++j)
if (utf8_isgroup(groups[j], c))
return true;
return false;