diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-09 14:19:03 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-09 14:19:03 +0200 |
commit | b774fc6f5021fa3b5e5e8cdb6611848f502f75fb (patch) | |
tree | 8bfedd528425b93580e1dfa3cdf0fcb9b81846bb /lib/unicode | |
parent | e95dbfc1921caf648d993cb34476a5890afe9f34 (diff) |
Add TODO
Diffstat (limited to 'lib/unicode')
-rw-r--r-- | lib/unicode/prop/uprop_get_cf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicode/prop/uprop_get_cf.c b/lib/unicode/prop/uprop_get_cf.c index ccf42a4..6297f73 100644 --- a/lib/unicode/prop/uprop_get_cf.c +++ b/lib/unicode/prop/uprop_get_cf.c @@ -1458,9 +1458,10 @@ uprop_get_cf(rune ch, bool az_or_tr) { if (ch == U'İ') return az_or_tr ? M('i') : M('i', 0x307); - struct rview rv = stage2[stage1[ch / 64]][ch % 64];; + struct rview rv = stage2[stage1[ch / 64]][ch % 64]; if (rv.p != nullptr) return rv; + /* TODO: This returns a pointer to a stack-allocated array; fix this! */ ch = uprop_get_scf(ch, az_or_tr); return M(ch); } |