aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2018-06-13 14:29:45 +0200
committerGitHub2018-06-13 14:29:45 +0200
commitf0fa5902100b5b2a6207b1656cf90af3c36bd213 (patch)
treeb901e9760a7bade5ad0c0c48d55c21e5c1c7d39f /editor/editor_help.cpp
parent62b75a94ec9c746aa6f58dad39ca2917428a38f1 (diff)
parent98b59cf2a387e469851eee137cc6310cfc4b2a6d (diff)
downloadgodot-f0fa5902100b5b2a6207b1656cf90af3c36bd213.tar.gz
godot-f0fa5902100b5b2a6207b1656cf90af3c36bd213.tar.zst
godot-f0fa5902100b5b2a6207b1656cf90af3c36bd213.zip
Merge pull request #19526 from robojumper/fix_tutorials
Add support for tutorial links to makerst.py
Diffstat (limited to '')
-rw-r--r--editor/editor_help.cpp7
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) {