summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-08-20 09:25:14 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-08-20 09:25:14 +0300
commitbbfff0e3db2d9d0dd6fe27bbb03687b85d414d3c (patch)
treeec4ea0c56036d6d2480e738e44daf897234e99fe /src
parentdda0948fa3061787f689b2216d8d1a57c54d0cff (diff)
Cleanup
Diffstat (limited to 'src')
-rw-r--r--src/ui/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 639d8f13..06043c7b 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -889,6 +889,7 @@ static void prepare_AttributedText_(iAttributedText *d, int overrideBaseDir, iCh
889 resize_Array(&d->visualToLogical, length); 889 resize_Array(&d->visualToLogical, length);
890 d->bidiLevels = length ? malloc(length) : NULL; 890 d->bidiLevels = length ? malloc(length) : NULL;
891 FriBidiParType baseDir = (FriBidiParType) FRIBIDI_TYPE_ON; 891 FriBidiParType baseDir = (FriBidiParType) FRIBIDI_TYPE_ON;
892 /* TODO: If this returns zero (error occurred), act like everything is LTR. */
892 fribidi_log2vis(constData_Array(&d->logical), 893 fribidi_log2vis(constData_Array(&d->logical),
893 length, 894 length,
894 &baseDir, 895 &baseDir,