From 950720b06356e62fe1fe9e574bfada13b44969d1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 9 May 2024 14:22:24 +0200 Subject: Add TODOs --- lib/unicode/prop/uprop_get_uc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/unicode/prop/uprop_get_uc.c') diff --git a/lib/unicode/prop/uprop_get_uc.c b/lib/unicode/prop/uprop_get_uc.c index 7e39181..698c61c 100644 --- a/lib/unicode/prop/uprop_get_uc.c +++ b/lib/unicode/prop/uprop_get_uc.c @@ -1147,6 +1147,7 @@ uprop_get_uc(rune ch, struct ucctx ctx) struct rview rv = stage2[stage1[ch / 128]][ch % 128]; if (rv.p != nullptr) return rv; + /* TODO: This returns a pointer to a stack-allocated array; fix this! */ ch = uprop_get_suc(ch); return M(ch); } -- cgit v1.2.3