summaryrefslogtreecommitdiffstats
path: root/scene/resources/text_paragraph.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-29 09:54:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-12-29 09:55:07 +0100
commit09212fba1ebbb29595456b01bf25c0ca80592a2d (patch)
tree4fe74909f95d303bd3814291fa67fa03267a0b4a /scene/resources/text_paragraph.cpp
parentc6e9d912e129373d81e6610a3733ffc7fb7a146b (diff)
downloadredot-engine-09212fba1ebbb29595456b01bf25c0ca80592a2d.tar.gz
Fix missed renamings from empty() to is_empty()
Those were missed in #44401 or added by later PRs.
Diffstat (limited to 'scene/resources/text_paragraph.cpp')
-rw-r--r--scene/resources/text_paragraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/text_paragraph.cpp b/scene/resources/text_paragraph.cpp
index c9e8a8fbc6..60e86e95db 100644
--- a/scene/resources/text_paragraph.cpp
+++ b/scene/resources/text_paragraph.cpp
@@ -147,7 +147,7 @@ void TextParagraph::_shape_lines() {
TS->free(line);
break;
}
- if (!tab_stops.empty()) {
+ if (!tab_stops.is_empty()) {
TS->shaped_text_tab_align(line, tab_stops);
}
if (align == HALIGN_FILL && (line_breaks.size() == 1 || i < line_breaks.size() - 1)) {