1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix missed renamings from empty() to is_empty()

Those were missed in #44401 or added by later PRs.
This commit is contained in:
Rémi Verschelde
2020-12-29 09:54:59 +01:00
parent c6e9d912e1
commit 09212fba1e
12 changed files with 18 additions and 18 deletions

View File

@@ -550,7 +550,7 @@ bool TextServerFallback::shaped_text_add_string(RID p_shaped, const String &p_te
ERR_FAIL_COND_V(!sd, false);
ERR_FAIL_COND_V(p_size <= 0, false);
if (p_text.empty()) {
if (p_text.is_empty()) {
return true;
}
@@ -573,7 +573,7 @@ bool TextServerFallback::shaped_text_add_string(RID p_shaped, const String &p_te
span.fonts.push_back(p_fonts[i]);
}
}
ERR_FAIL_COND_V(span.fonts.empty(), false);
ERR_FAIL_COND_V(span.fonts.is_empty(), false);
span.font_size = p_size;
span.language = p_language;