summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-10-08 19:34:46 +0300
committerGitHub <noreply@github.com>2022-10-08 19:34:46 +0300
commit880a0177d12463b612268afe95bd3d8dd565bf52 (patch)
tree28352784ac57cb25ebf162b5a2be350f0d9ad9b7
parentbbac8198f89c0cbf0da4293201e54aa847947370 (diff)
parent2a921cc9f88bec115910a39cb4e31c6001fa192e (diff)
Merge pull request #67086 from timothyqiu/text-txt
-rw-r--r--scene/gui/label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp
index bf7c59d1cd..63401ca195 100644
--- a/scene/gui/label.cpp
+++ b/scene/gui/label.cpp
@@ -117,7 +117,7 @@ void Label::_shape() {
for (int i = 0; i < TextServer::SPACING_MAX; i++) {
TS->shaped_text_set_spacing(text_rid, TextServer::SpacingType(i), font->get_spacing(TextServer::SpacingType(i)));
}
- TS->shaped_text_set_bidi_override(text_rid, structured_text_parser(st_parser, st_args, text));
+ TS->shaped_text_set_bidi_override(text_rid, structured_text_parser(st_parser, st_args, txt));
dirty = false;
font_dirty = false;
lines_dirty = true;