summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-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,