diff options
| author | robojumper | 2018-06-11 13:35:44 +0200 |
|---|---|---|
| committer | robojumper | 2018-06-12 17:40:24 +0200 |
| commit | 98b59cf2a387e469851eee137cc6310cfc4b2a6d (patch) | |
| tree | ab4d5a8a7fb9e7e5bb0159c1e6660a4e851ddad0 /editor/editor_help.cpp | |
| parent | 76875ba145c5745033d0a1c9fda2f4349e2509b3 (diff) | |
| download | godot-98b59cf2a387e469851eee137cc6310cfc4b2a6d.tar.gz godot-98b59cf2a387e469851eee137cc6310cfc4b2a6d.tar.zst godot-98b59cf2a387e469851eee137cc6310cfc4b2a6d.zip | |
Diffstat (limited to 'editor/editor_help.cpp')
| -rw-r--r-- | editor/editor_help.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index b49c2d26d..65e50560b 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -1280,11 +1280,10 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) { class_desc->add_newline(); // class_desc->add_newline(); - Vector<String> tutorials = cd.tutorials.split_spaces(); - if (tutorials.size() != 0) { + if (cd.tutorials.size() != 0) { - for (int i = 0; i < tutorials.size(); i++) { - String link = tutorials[i]; + for (int i = 0; i < cd.tutorials.size(); i++) { + String link = cd.tutorials[i]; String linktxt = link; int seppos = linktxt.find("//"); if (seppos != -1) { |
