You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -2723,7 +2723,7 @@ Error RichTextLabel::append_bbcode(const String &p_bbcode) {
|
||||
String bbcode_name;
|
||||
typedef Map<String, String> OptionMap;
|
||||
OptionMap bbcode_options;
|
||||
if (!split_tag_block.empty()) {
|
||||
if (!split_tag_block.is_empty()) {
|
||||
bbcode_name = split_tag_block[0];
|
||||
for (int i = 1; i < split_tag_block.size(); i++) {
|
||||
const String &expr = split_tag_block[i];
|
||||
@@ -3071,7 +3071,7 @@ Error RichTextLabel::append_bbcode(const String &p_bbcode) {
|
||||
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
if (!bbcode_value.empty()) {
|
||||
if (!bbcode_value.is_empty()) {
|
||||
int sep = bbcode_value.find("x");
|
||||
if (sep == -1) {
|
||||
width = bbcode_value.to_int();
|
||||
|
||||
Reference in New Issue
Block a user