aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_get_nfkc_scf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicode/prop/uprop_get_nfkc_scf.c')
-rw-r--r--lib/unicode/prop/uprop_get_nfkc_scf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicode/prop/uprop_get_nfkc_scf.c b/lib/unicode/prop/uprop_get_nfkc_scf.c
index abafff6..1738874 100644
--- a/lib/unicode/prop/uprop_get_nfkc_scf.c
+++ b/lib/unicode/prop/uprop_get_nfkc_scf.c
@@ -17699,5 +17699,6 @@ struct rview
uprop_get_nfkc_scf(rune ch)
{
struct rview rv = stage2[stage1[ch / 256]][ch % 256];
+ /* TODO: This returns a pointer to a stack-allocated array; fix this! */
return rv.len == 1 && rv.p[0] == SENTINAL ? M(ch) : rv;
}