diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-14 18:40:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 18:40:24 +0100 |
commit | 705ad947e9879028cdb9d66fcfa49bccffd90e4c (patch) | |
tree | c75dfc53df9a71cd246d8096fc5b1d572c7580c4 /editor/doc/doc_data.cpp | |
parent | 6d3809b25e5404cb2f05de6830fb25bbb3e8b94b (diff) | |
parent | dacfdd8f336b61c10042a9662376cbc3771d6a69 (diff) |
Merge pull request #36218 from akien-mga/doc-version-branch
doc: Only encode version branch (x.y) in class header
Diffstat (limited to 'editor/doc/doc_data.cpp')
-rw-r--r-- | editor/doc/doc_data.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp index c128ca4321..de3d13cdac 100644 --- a/editor/doc/doc_data.cpp +++ b/editor/doc/doc_data.cpp @@ -1032,7 +1032,7 @@ Error DocData::save_classes(const String &p_default_path, const Map<String, Stri String header = "<class name=\"" + c.name + "\""; if (c.inherits != "") header += " inherits=\"" + c.inherits + "\""; - header += String(" version=\"") + VERSION_NUMBER + "\""; + header += String(" version=\"") + VERSION_BRANCH + "\""; header += ">"; _write_string(f, 0, header); |