From b774fc6f5021fa3b5e5e8cdb6611848f502f75fb Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 9 May 2024 14:19:03 +0200 Subject: Add TODO --- lib/unicode/prop/uprop_get_cf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3