summaryrefslogtreecommitdiffhomepage
path: root/src/utf8code.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-03-27 20:17:57 +0200
committerTyge Løvset <[email protected]>2023-03-27 20:17:57 +0200
commit26cd0a73422cdbcd4998170e179fa0f3ce48e9a5 (patch)
treedf7828078cc8bca74d62fb930b3b53d228084080 /src/utf8code.c
parente35036deef4fc8f17cc9221e2e666dfdb832ba78 (diff)
downloadSTC-modified-26cd0a73422cdbcd4998170e179fa0f3ce48e9a5.tar.gz
STC-modified-26cd0a73422cdbcd4998170e179fa0f3ce48e9a5.zip
Some missing files.
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;