summaryrefslogtreecommitdiff
path: root/scene/resources/text_paragraph.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-29 10:39:27 +0100
committerGitHub <noreply@github.com>2020-12-29 10:39:27 +0100
commit8a14dc746a15a62e14ac9ba9549b70bac709830c (patch)
tree4fe74909f95d303bd3814291fa67fa03267a0b4a /scene/resources/text_paragraph.cpp
parentc6e9d912e129373d81e6610a3733ffc7fb7a146b (diff)
parent09212fba1ebbb29595456b01bf25c0ca80592a2d (diff)
Merge pull request #44788 from akien-mga/container-is_empty
Fix missed renamings from empty() to is_empty()
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)) {