diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-01-15 18:40:41 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-01-15 18:41:13 -0300 |
commit | 03475ba197a75b0f8431277954df1fdb0dc14913 (patch) | |
tree | 164fc28c17df6c48a87237c7e29e8977c8c8e7d0 /core/ustring.cpp | |
parent | ef1c26a9a5882e7d1b8027958eec6fcc82a46c44 (diff) | |
download | redot-engine-03475ba197a75b0f8431277954df1fdb0dc14913.tar.gz |
Filled tutorial field in most relevent classes.
Added tutorial display in doc.
Diffstat (limited to 'core/ustring.cpp')
-rw-r--r-- | core/ustring.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 1be828c44a..1fce4f1826 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -686,6 +686,9 @@ Vector<String> String::split_spaces() const { int from = 0; int i = 0; int len = length(); + if (len == 0) + return ret; + bool inside = false; while (true) { |