summaryrefslogtreecommitdiffstats
path: root/scene/gui
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/gui
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/gui')
-rw-r--r--scene/gui/rich_text_label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp
index 68c0f5eb5b..82f2106432 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -2359,7 +2359,7 @@ bool RichTextLabel::remove_line(const int p_line) {
void RichTextLabel::push_dropcap(const String &p_string, const Ref<Font> &p_font, int p_size, const Rect2 &p_dropcap_margins, const Color &p_color, int p_ol_size, const Color &p_ol_color) {
ERR_FAIL_COND(current->type == ITEM_TABLE);
- ERR_FAIL_COND(p_string.empty());
+ ERR_FAIL_COND(p_string.is_empty());
ERR_FAIL_COND(p_font.is_null());
ERR_FAIL_COND(p_size <= 0);