mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -622,7 +622,7 @@ String DisplayServerX11::_clipboard_get(Atom p_source, Window x11_window) const
|
|||
if (utf8_atom != None) {
|
||||
ret = _clipboard_get_impl(p_source, x11_window, utf8_atom);
|
||||
}
|
||||
if (ret.empty()) {
|
||||
if (ret.is_empty()) {
|
||||
ret = _clipboard_get_impl(p_source, x11_window, XA_STRING);
|
||||
}
|
||||
return ret;
|
||||
|
|
@ -634,7 +634,7 @@ String DisplayServerX11::clipboard_get() const {
|
|||
String ret;
|
||||
ret = _clipboard_get(XInternAtom(x11_display, "CLIPBOARD", 0), windows[MAIN_WINDOW_ID].x11_window);
|
||||
|
||||
if (ret.empty()) {
|
||||
if (ret.is_empty()) {
|
||||
ret = _clipboard_get(XA_PRIMARY, windows[MAIN_WINDOW_ID].x11_window);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue