mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
size() <= 0 and size() < 1.
This commit is contained in:
parent
4f4031a675
commit
7a1a970c25
12 changed files with 16 additions and 16 deletions
|
|
@ -410,7 +410,7 @@ String keycode_get_string(Key p_code) {
|
|||
Key find_keycode(const String &p_codestr) {
|
||||
Key keycode = Key::NONE;
|
||||
Vector<String> code_parts = p_codestr.split("+");
|
||||
if (code_parts.size() < 1) {
|
||||
if (code_parts.is_empty()) {
|
||||
return keycode;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue