From 03475ba197a75b0f8431277954df1fdb0dc14913 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 15 Jan 2018 18:40:41 -0300 Subject: Filled tutorial field in most relevent classes. Added tutorial display in doc. --- core/ustring.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/ustring.cpp') 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::split_spaces() const { int from = 0; int i = 0; int len = length(); + if (len == 0) + return ret; + bool inside = false; while (true) { -- cgit v1.2.3